Gets an object that holds either "Y" or "N" as a value, and converts it to a boolean value.

Namespace: Asi.iBO.ContentManagement
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public static bool ConvertFlagToBoolean(
	Object obj,
	bool defaultBoolean
)
Visual Basic
Public Shared Function ConvertFlagToBoolean ( _
	obj As Object, _
	defaultBoolean As Boolean _
) As Boolean
Visual C++
public:
static bool ConvertFlagToBoolean(
	Object^ obj, 
	bool defaultBoolean
)

Parameters

obj
Type: System..::..Object
Object that holds either Y or N.
defaultBoolean
Type: System..::..Boolean
Default boolean value that is used when the object is null.

Return Value

Boolean value

See Also