Click or drag to resize
AbstractInfoTInfoGetValueT Method (String, T)
Gets the field value converted to a specified type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
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: T
See Also