ToBoolean Method (Object)
Collapse the table of content
Expand the table of content

Conversions.ToBoolean Method (Object)

Converts an object to a Boolean value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static bool ToBoolean(
	Object Value
)

Parameters

Value
Type: System.Object
The object to convert.

Return Value

Type: System.Boolean
A Boolean value. Returns False if the object is null; otherwise, True.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft