SqlBoolean.Parse Method (String)

 

Converts the specified String representation of a logical value to its SqlBoolean equivalent.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlBoolean Parse(
	string s
)

Parameters

s
Type: System.String

The String to be converted.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean structure that contains the parsed value.

.NET Framework
Available since 1.1
Return to top
Show: