Click or drag to resize

ObjectExtensionsToBool Method

Converts object to boolean.

Namespace:  Omada.OE.Solution.OIM.Assembly.AppLogic.Extensions
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public static bool ToBool(
	this Object obj
)

Parameters

obj
Type: SystemObject
The object.

Return Value

Type: Boolean
The boolean object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also