SqlBoolean.True(SqlBoolean) Operator

Definition

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

public:
 static bool operator true(System::Data::SqlTypes::SqlBoolean x);
public static bool operator true (System.Data.SqlTypes.SqlBoolean x);
static member op_True : System.Data.SqlTypes.SqlBoolean -> bool
Public Shared Operator IsTrue (x As SqlBoolean) As Boolean

Parameters

x
SqlBoolean

The SqlBoolean structure to be tested.

Returns

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

Remarks

The equivalent method for this operator is SqlBoolean.True.

Applies to

See also