SqlBoolean.Explicit 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 a SqlBoolean to a specified structure.
Overloads
Explicit(SqlString to SqlBoolean) |
Converts the SqlString parameter to a SqlBoolean structure. |
Explicit(SqlSingle to SqlBoolean) |
Converts the SqlSingle parameter to a SqlBoolean structure. |
Explicit(SqlMoney to SqlBoolean) |
Converts the SqlMoney parameter to a SqlBoolean structure. |
Explicit(SqlInt64 to SqlBoolean) |
Converts the SqlInt64 parameter to a SqlBoolean structure. |
Explicit(SqlInt32 to SqlBoolean) |
Converts the SqlInt32 parameter to a SqlBoolean structure. |
Explicit(SqlDouble to SqlBoolean) |
Converts the SqlDouble parameter to a SqlBoolean structure. |
Explicit(SqlDecimal to SqlBoolean) |
Converts the SqlDecimal parameter to a SqlBoolean structure. |
Explicit(SqlByte to SqlBoolean) |
Converts the SqlByte parameter to a SqlBoolean structure. |
Explicit(SqlBoolean to Boolean) |
Converts a SqlBoolean to a Boolean. |
Explicit(SqlInt16 to SqlBoolean) |
Converts the SqlInt16 parameter to a SqlBoolean structure. |
Explicit(SqlString to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlString parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlString) As SqlBoolean
Parameters
A SqlString to be converted to a SqlBoolean structure.
Returns
A new SqlByte structure whose value equals the Value property of the SqlBoolean parameter.
Remarks
The equivalent method for this operator is SqlString.ToSqlBoolean()
See also
Applies to
Explicit(SqlSingle to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlSingle parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlBoolean
Parameters
A SqlSingle to be converted to a SqlBoolean structure.
Returns
A new SqlBoolean structure whose value equals the Value property of the SqlSingle parameter.
Remarks
The equivalent method for this operator is SqlSingle.ToSqlBoolean()
See also
Applies to
Explicit(SqlMoney to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlMoney parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlBoolean
Parameters
- x
- SqlMoney
A SqlMoney to be converted to a SqlBoolean structure.
Returns
A new SqlByte structure whose value equals the Value property of the SqlMoney parameter.
Remarks
The equivalent method for this operator is SqlMoney.ToSqlBoolean()
See also
Applies to
Explicit(SqlInt64 to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlInt64 parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlBoolean
Parameters
- x
- SqlInt64
A SqlInt64 to be converted to a SqlBoolean structure.
Returns
A new SqlBoolean structure whose value equals the Value property of the SqlInt64 parameter.
Remarks
The equivalent method for this operator is SqlInt64.ToSqlBoolean()
See also
Applies to
Explicit(SqlInt32 to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlInt32 parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlBoolean
Parameters
- x
- SqlInt32
A SqlInt32 to be converted to a SqlBoolean structure.
Returns
A new SqlBoolean structure whose value equals the Value property of the SqlInt32 parameter.
Remarks
The equivalent method for this operator is SqlInt32.ToSqlBoolean().
See also
Applies to
Explicit(SqlDouble to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlDouble parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlBoolean
Parameters
A SqlDouble to be converted to a SqlBoolean structure.
Returns
A new SqlBoolean structure whose value equals the Value property of the SqlDouble parameter.
Remarks
The equivalent method for this operator is SqlDouble.ToSqlBoolean()
See also
Applies to
Explicit(SqlDecimal to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlDecimal parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlBoolean
Parameters
A SqlDecimal to be converted to a SqlBoolean structure.
Returns
A new SqlByte structure whose value equals the Value property of the SqlDecimal parameter.
Remarks
The equivalent method for this operator is SqlDecimal.ToSqlBoolean()
See also
Applies to
Explicit(SqlByte to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlByte parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlByte x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlByte x);
static member op_Explicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlByte) As SqlBoolean
Parameters
- x
- SqlByte
A SqlByte to be converted to a SqlBoolean structure.
Returns
A new SqlBoolean structure whose value equals the Value of the SqlByte parameter.
Remarks
The equivalent method for this operator is SqlByte.ToSqlBoolean()
See also
Applies to
Explicit(SqlBoolean to Boolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts a SqlBoolean to a Boolean.
public:
static explicit operator bool(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator bool (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> bool
Public Shared Narrowing Operator CType (x As SqlBoolean) As Boolean
Parameters
A SqlBoolean to convert.
Returns
A Boolean set to the Value of the SqlBoolean.
See also
Applies to
Explicit(SqlInt16 to SqlBoolean)
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
- Source:
- SQLBoolean.cs
Converts the SqlInt16 parameter to a SqlBoolean structure.
public:
static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlInt16) As SqlBoolean
Parameters
- x
- SqlInt16
A SqlInt16 to be converted to a SqlBoolean structure.
Returns
A new SqlBoolean structure whose value equals the Value property of the SqlInt16 parameter.
Remarks
The equivalent method for this operator is SqlInt16.ToSqlBoolean()