SqlBoolean.Implicit(Boolean to SqlBoolean) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.