Редагувати

Поділитися через


SqlBoolean.Implicit(Boolean to SqlBoolean) Operator

Definition

Converts the supplied byte value to a SqlBoolean.

public:
 static operator System::Data::SqlTypes::SqlBoolean(bool x);
public static implicit operator System.Data.SqlTypes.SqlBoolean (bool x);
static member op_Implicit : bool -> System.Data.SqlTypes.SqlBoolean
Public Shared Widening Operator CType (x As Boolean) As SqlBoolean

Parameters

x
Boolean

A byte value to be converted to SqlBoolean.

Returns

A SqlBoolean value that contains 0 or 1.

Applies to

See also