Returns a multireference shared object from field.
function GetFieldObject(Field: TField): TSharedObject; overload;function GetFieldObject(Field: TField; RecBuf: TRecordBuffer): TSharedObject; overload;function GetFieldObject(FieldDesc: TFieldDesc): TSharedObject; overload;function GetFieldObject(FieldDesc: TFieldDesc; RecBuf: TRecordBuffer): TSharedObject; overload;function GetFieldObject(const FieldName: string): TSharedObject; overload;
Call the GetFieldObject method to return a multireference shared object from field. If field does not hold one of the TSharedObject descendants, GetFieldObject raises an exception.