AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageAttributeControl..::..SafeBool Method

Safes the bool.

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

Syntax


public bool SafeBool(
	Object obj,
	bool defaultValue
)

Parameters

obj
Type: Object
The object.
defaultValue
Type: Boolean
if set to true [default value].

Return Value

true if XXXX, false otherwise.