Convert.ToBoolean Method (Boolean)

Returns the specified Boolean value; no actual conversion is performed.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static bool ToBoolean(
	bool value
)

Parameters

value
Type: System.Boolean
A Boolean.

Return Value

Type: System.Boolean
Parameter value is returned unchanged.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft