📅  最后修改于: 2022-03-11 14:48:15.209000             🧑  作者: Mango
map GlobalMap = Schema.getGlobalDescribe();
for (Schema.SObjectType Obj : GlobalMap.values()) {
Schema.DescribeSObjectResult ObjDesc = Obj.getDescribe();
system.debug('Object Name: ' + ObjDesc.getName());
}
System.debug(GlobalMap.size() );