ReadField<T> Method (IRecord)
- Last UpdatedApr 08, 2026
- 1 minute read
Read a value from a field.
This method should be considered unsafe, and for typically database read operations should NOT be used. Its purpose is
for applications that need to read fields that DO NOT EXIST FOR RELEASE; applications that need to read fields
that are added to the database by customers. Custom projects that wish to make use of the Object Model should also
attempt to avoid using this method. For customer applications to read custom fields in the database, the recommended
solution is to generate a customer specific object model by executing GenerateDatabaseModel.exe.
[EditorBrowsable(EditorBrowsableState.Advanced)]
T ReadField<T>(
string fieldName
)
[EditorBrowsable(EditorBrowsableState.Advanced)]
T^ ReadFieldgeneric<typename T>
(
String^ fieldName
)
Parameters
- fieldName
- The exact name of the field. Case sensitive
Type Parameters
- T
- The field type to read