SqlBoolean.True Operator (SqlBoolean)

 
equivalentCodeEntityF:System.Data.SqlTypes.SqlBoolean.True

The true operator can be used to test the Value of the SqlBoolean to determine whether it is true.

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

public static bool operator true(
	SqlBoolean x
)

Parameters

x
Type: System.Data.SqlTypes.SqlBoolean

The SqlBoolean structure to be tested.

Return Value

Type: System.Boolean

Returns true if the supplied parameter is SqlBoolean is true, false otherwise.

.NET Framework
Available since 1.1
Return to top
Show: