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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
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