Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Conversions.ToBoolean Method (String)

Converts a string to a Boolean value.

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

public static bool ToBoolean(
	string Value


Type: System.String
The string to convert.

Return Value

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


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

© 2015 Microsoft