SqlByte.Explicit SqlByte.Explicit SqlByte.Explicit SqlByte.Explicit Operator

定义

重载

Explicit(SqlString to SqlByte) Explicit(SqlString to SqlByte) Explicit(SqlString to SqlByte) Explicit(SqlString to SqlByte)

将提供的 SqlString 转换为 SqlByteConverts the supplied SqlString to SqlByte.

Explicit(SqlSingle to SqlByte) Explicit(SqlSingle to SqlByte) Explicit(SqlSingle to SqlByte) Explicit(SqlSingle to SqlByte)

将提供的 SqlSingle 结构转换为 SqlByteConverts the supplied SqlSingle structure to SqlByte.

Explicit(SqlMoney to SqlByte) Explicit(SqlMoney to SqlByte) Explicit(SqlMoney to SqlByte) Explicit(SqlMoney to SqlByte)

SqlMoney 参数转换为 SqlByteConverts the SqlMoney parameter to a SqlByte.

Explicit(SqlInt64 to SqlByte) Explicit(SqlInt64 to SqlByte) Explicit(SqlInt64 to SqlByte) Explicit(SqlInt64 to SqlByte)

将提供的 SqlInt64 转换为 SqlByteConverts the supplied SqlInt64 to SqlByte.

Explicit(SqlInt32 to SqlByte) Explicit(SqlInt32 to SqlByte) Explicit(SqlInt32 to SqlByte) Explicit(SqlInt32 to SqlByte)

将提供的 SqlInt32 转换为 SqlByteConverts the supplied SqlInt32 to SqlByte.

Explicit(SqlDouble to SqlByte) Explicit(SqlDouble to SqlByte) Explicit(SqlDouble to SqlByte) Explicit(SqlDouble to SqlByte)

将提供的 SqlDouble 转换为 SqlByteConverts the supplied SqlDouble to SqlByte.

Explicit(SqlDecimal to SqlByte) Explicit(SqlDecimal to SqlByte) Explicit(SqlDecimal to SqlByte) Explicit(SqlDecimal to SqlByte)

将提供的 SqlDecimal 转换为 SqlByteConverts the supplied SqlDecimal to SqlByte.

Explicit(SqlByte to Byte) Explicit(SqlByte to Byte) Explicit(SqlByte to Byte) Explicit(SqlByte to Byte)

将提供的 SqlByte 结构转换为字节。Converts the supplied SqlByte structure to a byte.

Explicit(SqlBoolean to SqlByte) Explicit(SqlBoolean to SqlByte) Explicit(SqlBoolean to SqlByte) Explicit(SqlBoolean to SqlByte)

SqlBoolean 参数转换为 SqlByteConverts the SqlBoolean parameter to a SqlByte.

Explicit(SqlInt16 to SqlByte) Explicit(SqlInt16 to SqlByte) Explicit(SqlInt16 to SqlByte) Explicit(SqlInt16 to SqlByte)

SqlInt16 参数转换为 SqlByteConverts the SqlInt16 parameter to a SqlByte.

Explicit(SqlString to SqlByte) Explicit(SqlString to SqlByte) Explicit(SqlString to SqlByte) Explicit(SqlString to SqlByte)

将提供的 SqlString 转换为 SqlByteConverts the supplied SqlString to SqlByte.

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

参数

x
SqlString SqlString SqlString SqlString

SqlString 类的实例。An instance of the SqlString class.

返回

一个 SqlByte 结构,其 Value 属性等于 SqlString 表示的数值。A SqlByte structure whose Value property is equal to the numeric value represented by the SqlString.

注解

此运算符的等效方法是 SqlString.ToSqlByte()The equivalent method for this operator is SqlString.ToSqlByte()

另请参阅

Explicit(SqlSingle to SqlByte) Explicit(SqlSingle to SqlByte) Explicit(SqlSingle to SqlByte) Explicit(SqlSingle to SqlByte)

将提供的 SqlSingle 结构转换为 SqlByteConverts the supplied SqlSingle structure to SqlByte.

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

参数

x
SqlSingle SqlSingle SqlSingle SqlSingle

一个 SqlSingle 结构。A SqlSingle structure.

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlSingleA SqlByte structure whose Value property is equal to the Value of the SqlSingle parameter.

注解

此运算符的等效方法是 SqlSingle.ToSqlByte()The equivalent method for this operator is SqlSingle.ToSqlByte()

另请参阅

Explicit(SqlMoney to SqlByte) Explicit(SqlMoney to SqlByte) Explicit(SqlMoney to SqlByte) Explicit(SqlMoney to SqlByte)

SqlMoney 参数转换为 SqlByteConverts the SqlMoney parameter to a SqlByte.

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

参数

x
SqlMoney SqlMoney SqlMoney SqlMoney

一个 SqlMoney 结构。A SqlMoney structure.

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlMoneyA SqlByte structure whose Value property is equal to the Value of the SqlMoney parameter.

注解

此运算符的等效方法是 SqlMoney.ToSqlByte()The equivalent method for this operator is SqlMoney.ToSqlByte()

另请参阅

Explicit(SqlInt64 to SqlByte) Explicit(SqlInt64 to SqlByte) Explicit(SqlInt64 to SqlByte) Explicit(SqlInt64 to SqlByte)

将提供的 SqlInt64 转换为 SqlByteConverts the supplied SqlInt64 to SqlByte.

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

参数

x
SqlInt64 SqlInt64 SqlInt64 SqlInt64

一个 SqlInt64 结构。A SqlInt64 structure.

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlInt64A SqlByte structure whose Value property is equal to the Value of the SqlInt64 parameter.

注解

此运算符的等效方法是 SqlInt64.ToSqlByte()The equivalent method for this operator is SqlInt64.ToSqlByte()

另请参阅

Explicit(SqlInt32 to SqlByte) Explicit(SqlInt32 to SqlByte) Explicit(SqlInt32 to SqlByte) Explicit(SqlInt32 to SqlByte)

将提供的 SqlInt32 转换为 SqlByteConverts the supplied SqlInt32 to SqlByte.

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

参数

x
SqlInt32 SqlInt32 SqlInt32 SqlInt32

一个 SqlInt32 结构。A SqlInt32 structure.

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlInt32A SqlByte structure whose Value property is equal to the Value of the SqlInt32 parameter.

注解

此运算符的等效方法是 SqlInt32.ToSqlByte()The equivalent method for this operator is SqlInt32.ToSqlByte()

另请参阅

Explicit(SqlDouble to SqlByte) Explicit(SqlDouble to SqlByte) Explicit(SqlDouble to SqlByte) Explicit(SqlDouble to SqlByte)

将提供的 SqlDouble 转换为 SqlByteConverts the supplied SqlDouble to SqlByte.

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

参数

x
SqlDouble SqlDouble SqlDouble SqlDouble

一个 SqlDouble 结构。A SqlDouble structure.

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlDoubleA SqlByte structure whose Value property is equal to the Value of the SqlDouble parameter.

注解

此运算符的等效方法是 SqlDouble.ToSqlByte()The equivalent method for this operator is SqlDouble.ToSqlByte()

另请参阅

Explicit(SqlDecimal to SqlByte) Explicit(SqlDecimal to SqlByte) Explicit(SqlDecimal to SqlByte) Explicit(SqlDecimal to SqlByte)

将提供的 SqlDecimal 转换为 SqlByteConverts 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

参数

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlDecimalA SqlByte structure whose Value property is equal to the Value of the SqlDecimal parameter.

注解

此运算符的等效方法是 SqlDecimal.ToSqlByte()The equivalent method for this operator is SqlDecimal.ToSqlByte()

另请参阅

Explicit(SqlByte to Byte) Explicit(SqlByte to Byte) Explicit(SqlByte to Byte) Explicit(SqlByte to Byte)

将提供的 SqlByte 结构转换为字节。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

参数

x
SqlByte SqlByte SqlByte SqlByte

要转换为字节的 SqlByte 结构。The SqlByte structure to be converted to a byte.

返回

一个字节,其值等于 Value 参数的 SqlByte 属性。A byte whose value equals the Value property of the SqlByte parameter.

另请参阅

Explicit(SqlBoolean to SqlByte) Explicit(SqlBoolean to SqlByte) Explicit(SqlBoolean to SqlByte) Explicit(SqlBoolean to SqlByte)

SqlBoolean 参数转换为 SqlByteConverts 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

参数

x
SqlBoolean SqlBoolean SqlBoolean SqlBoolean

要转换为 SqlBooleanSqlByte 参数。The SqlBoolean parameter to be converted to a SqlByte.

返回

一个 SqlByte,它的 Value 属性等于提供的 ByteValue 参数的 SqlBooleanA SqlByte whose Value property equals the ByteValue of the supplied SqlBoolean parameter.

注解

此运算符的等效方法是 SqlBoolean.ToSqlByte()The equivalent method for this operator is SqlBoolean.ToSqlByte()

另请参阅

Explicit(SqlInt16 to SqlByte) Explicit(SqlInt16 to SqlByte) Explicit(SqlInt16 to SqlByte) Explicit(SqlInt16 to SqlByte)

SqlInt16 参数转换为 SqlByteConverts the SqlInt16 parameter to a SqlByte.

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

参数

x
SqlInt16 SqlInt16 SqlInt16 SqlInt16

一个 SqlInt16 结构。A SqlInt16 structure.

返回

一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlInt16A SqlByte structure whose Value property is equal to the Value of the SqlInt16 parameter.

注解

此运算符的等效方法是 SqlInt16.ToSqlByte()The equivalent method for this operator is SqlInt16.ToSqlByte()

另请参阅

适用于