AbstractInfoBaseTInfoGetValueT Method (String, T) |
Gets the field value converted to a specified type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax public T GetValue<T>(
string columnName,
T defaultValue
)
Parameters
- columnName
- Type: SystemString
Column name - defaultValue
- Type: T
Default value to use if the value is empty or not convertible to a specified type
Type Parameters
- T
Return Value
Type:
TSee Also