SqlByte.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 parameter to a SqlByte.
Overloads
Explicit(SqlString to SqlByte) | |
Explicit(SqlSingle to SqlByte) | |
Explicit(SqlMoney to SqlByte) | |
Explicit(SqlInt64 to SqlByte) | |
Explicit(SqlInt32 to SqlByte) | |
Explicit(SqlDouble to SqlByte) | |
Explicit(SqlDecimal to SqlByte) |
Converts the supplied SqlDecimal to SqlByte. |
Explicit(SqlByte to Byte) |
Converts the supplied SqlByte structure to a byte. |
Explicit(SqlBoolean to SqlByte) |
Converts the SqlBoolean parameter to a SqlByte. |
Explicit(SqlInt16 to SqlByte) |
Explicit(SqlString to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlString) As SqlByte
Parameters
An instance of the SqlString
class.
Returns
A SqlByte structure whose Value property is equal to the numeric value represented by the SqlString.
Remarks
The equivalent method for this operator is SqlString.ToSqlByte()
See also
Applies to
Explicit(SqlSingle to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlByte
Parameters
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlSingle parameter.
Remarks
The equivalent method for this operator is SqlSingle.ToSqlByte()
See also
Applies to
Explicit(SqlMoney to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlByte
Parameters
- x
- SqlMoney
A SqlMoney
structure.
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlMoney parameter.
Remarks
The equivalent method for this operator is SqlMoney.ToSqlByte()
See also
Applies to
Explicit(SqlInt64 to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlByte
Parameters
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlInt64
parameter.
Remarks
The equivalent method for this operator is SqlInt64.ToSqlByte()
See also
Applies to
Explicit(SqlInt32 to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlByte
Parameters
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlInt32 parameter.
Remarks
The equivalent method for this operator is SqlInt32.ToSqlByte()
See also
Applies to
Explicit(SqlDouble to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlByte
Parameters
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlDouble parameter.
Remarks
The equivalent method for this operator is SqlDouble.ToSqlByte()
See also
Applies to
Explicit(SqlDecimal to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
Converts the supplied SqlDecimal to SqlByte.
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlByte
Parameters
A SqlDecimal structure.
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlDecimal parameter.
Remarks
The equivalent method for this operator is SqlDecimal.ToSqlByte()
See also
Applies to
Explicit(SqlByte to Byte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
Converts the supplied SqlByte structure to a byte.
public:
static explicit operator System::Byte(System::Data::SqlTypes::SqlByte x);
public static explicit operator byte (System.Data.SqlTypes.SqlByte x);
static member op_Explicit : System.Data.SqlTypes.SqlByte -> byte
Public Shared Narrowing Operator CType (x As SqlByte) As Byte
Parameters
Returns
A byte whose value equals the Value property of the SqlByte parameter.
See also
Applies to
Explicit(SqlBoolean to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
Converts the SqlBoolean parameter to a SqlByte.
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlByte
Parameters
The SqlBoolean parameter to be converted to a SqlByte.
Returns
A SqlByte whose Value property equals the ByteValue of the supplied SqlBoolean parameter.
Remarks
The equivalent method for this operator is SqlBoolean.ToSqlByte()
See also
Applies to
Explicit(SqlInt16 to SqlByte)
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
- Source:
- SQLByte.cs
public:
static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlInt16) As SqlByte
Parameters
Returns
A SqlByte structure whose Value property is equal to the Value of the SqlInt16 parameter.
Remarks
The equivalent method for this operator is SqlInt16.ToSqlByte()