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
)

Parameters

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.

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:
© 2015 Microsoft