To retrieve the RecordType associated
with a particular RecordInfo object, call the getAssociatedRecordType method
on a RecordInfo object, as shown in the following
line of code:
//Returns the RecordType that is associated with the RecordInfo object.
//If no RecordType is associated, the method returns a null value
RecordType loRecordType = loRecordInfo. getAssociatedRecordType() ;