AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageAttributes..::..GetBool Method

Gets a boolean attribute value by key.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public bool GetBool(
	string key
)

Parameters

key
Type: String
The attribute key.

Return Value

true if the stored value is true; false otherwise.