SqlByte.Explicit 操作员

定义

将参数转换为 SqlByte.

重载

名称 说明
Explicit(SqlString to SqlByte)

将提供的 SqlString 转换为 SqlByte

Explicit(SqlSingle to SqlByte)

将所提供的 SqlSingle 结构转换为 SqlByte

Explicit(SqlMoney to SqlByte)

SqlMoney 参数转换为 SqlByte.

Explicit(SqlInt64 to SqlByte)

将提供的 SqlInt64 转换为 SqlByte

Explicit(SqlInt32 to SqlByte)

将提供的 SqlInt32 转换为 SqlByte

Explicit(SqlDouble to SqlByte)

将提供的 SqlDouble 转换为 SqlByte

Explicit(SqlDecimal to SqlByte)

将提供的 SqlDecimal 转换为 SqlByte

Explicit(SqlByte to Byte)

将所提供的 SqlByte 结构转换为字节。

Explicit(SqlBoolean to SqlByte)

SqlBoolean 参数转换为 SqlByte.

Explicit(SqlInt16 to SqlByte)

SqlInt16 参数转换为 SqlByte.

Explicit(SqlString to SqlByte)

将提供的 SqlString 转换为 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 类的实例。

返回

一个 SqlByte 结构,其 Value 属性等于由 表示的 SqlString数值。

注解

此运算符的等效方法为 SqlString.ToSqlByte()

另请参阅

适用于

Explicit(SqlSingle to SqlByte)

将所提供的 SqlSingle 结构转换为 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 结构。

返回

SqlByte属性等于Value参数的结构ValueSqlSingle

注解

此运算符的等效方法为 SqlSingle.ToSqlByte()

另请参阅

适用于

Explicit(SqlMoney to SqlByte)

SqlMoney 参数转换为 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 结构。

返回

SqlByte属性等于Value参数的结构ValueSqlMoney

注解

此运算符的等效方法为 SqlMoney.ToSqlByte()

另请参阅

适用于

Explicit(SqlInt64 to SqlByte)

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

返回

SqlByte属性等于Value参数的结构ValueSqlInt64

注解

此运算符的等效方法为 SqlInt64.ToSqlByte()

另请参阅

适用于

Explicit(SqlInt32 to SqlByte)

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

返回

SqlByte属性等于Value参数的结构ValueSqlInt32

注解

此运算符的等效方法为 SqlInt32.ToSqlByte()

另请参阅

适用于

Explicit(SqlDouble to SqlByte)

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

返回

SqlByte属性等于Value参数的结构ValueSqlDouble

注解

此运算符的等效方法为 SqlDouble.ToSqlByte()

另请参阅

适用于

Explicit(SqlDecimal to SqlByte)

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

参数

x
SqlDecimal

SqlDecimal 结构。

返回

SqlByte属性等于Value参数的结构ValueSqlDecimal

注解

此运算符的等效方法为 SqlDecimal.ToSqlByte()

另请参阅

适用于

Explicit(SqlByte to Byte)

将所提供的 SqlByte 结构转换为字节。

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要转换为字节的结构。

返回

一个字节,其值等于 Value 参数的属性 SqlByte

另请参阅

适用于

Explicit(SqlBoolean to SqlByte)

SqlBoolean 参数转换为 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要转换为 . 的参数SqlByte

返回

SqlByteValue属性等于ByteValue提供SqlBoolean的参数。

注解

此运算符的等效方法为 SqlBoolean.ToSqlByte()

另请参阅

适用于

Explicit(SqlInt16 to SqlByte)

SqlInt16 参数转换为 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 结构。

返回

SqlByte属性等于Value参数的结构ValueSqlInt16

注解

此运算符的等效方法为 SqlInt16.ToSqlByte()

另请参阅

适用于