SqlBoolean Explicit Conversion (SqlBoolean to Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts a SqlBoolean to a Boolean.

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

public static explicit operator bool (
	SqlBoolean x
)

Parameters

x
Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean to convert.

Return Value

Type: System.Boolean

A Boolean set to the Value of the SqlBoolean.

.NET Framework
Available since 1.1
Return to top
Show: