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)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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 属性等于 Value 参数的 SqlSingle

注解

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

另请参阅

适用于

Explicit(SqlMoney to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

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 属性等于 Value 参数的 SqlMoney

注解

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

另请参阅

适用于

Explicit(SqlInt64 to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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 属性等于 Value 参数的 SqlInt64

注解

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

另请参阅

适用于

Explicit(SqlInt32 to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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 属性等于 Value 参数的 SqlInt32

注解

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

另请参阅

适用于

Explicit(SqlDouble to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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 属性等于 Value 参数的 SqlDouble

注解

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

另请参阅

适用于

Explicit(SqlDecimal to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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 属性等于 Value 参数的 SqlDecimal

注解

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

另请参阅

适用于

Explicit(SqlByte to Byte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

将提供的 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)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

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

要转换为 SqlBooleanSqlByte 参数。

返回

一个 SqlByte,它的 Value 属性等于提供的 ByteValue 参数的 SqlBoolean

注解

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

另请参阅

适用于

Explicit(SqlInt16 to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

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 属性等于 Value 参数的 SqlInt16

注解

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

另请参阅

适用于