I am new to the salesforce and record type:
Map<Id,RecordType> caseRTMap = new Map<Id, RecordType>([SELECT Id, DeveloperName
FROM RecordType WHERE SObjectType = 'Case']);
System.debug('caseRTMap : '+caseRTMap);
List<RecordType> lst = caseRTMap.values();
System.debug('lst : '+lst[1]);
Output is :{Id=012c00XXXXXX, DeveloperName=AAA}
How can I get the value of DeveloperName ?
Set<RecordType>
anywhere in your code.