Click or drag to resize
DataHelperGetBoolValue Method (ISimpleDataContainer, String, Boolean)
Gets the bool variable from given data container.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static bool GetBoolValue(
	ISimpleDataContainer data,
	string columnName,
	bool defaultValue
)

Parameters

data
Type: CMS.BaseISimpleDataContainer
Container with the data
columnName
Type: SystemString
Column name
defaultValue
Type: SystemBoolean
Default value

Return Value

Type: Boolean
See Also