SqlByte.Explicit 操作员  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将参数转换为 SqlByte。
重载
Explicit(SqlString to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlString) As SqlByte参数
              SqlString 类的实例。
返回
一个 SqlByte 结构,其 Value 属性等于 SqlString 表示的数值。
注解
此运算符的等效方法是 SqlString.ToSqlByte()
另请参阅
适用于
Explicit(SqlSingle to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlSingle) As SqlByte参数
返回
一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlSingle。
注解
此运算符的等效方法是 SqlSingle.ToSqlByte()
另请参阅
适用于
Explicit(SqlMoney to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic 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
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlInt64) As SqlByte参数
返回
一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlInt64。
注解
此运算符的等效方法是 SqlInt64.ToSqlByte()
另请参阅
适用于
Explicit(SqlInt32 to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlInt32) As SqlByte参数
返回
一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlInt32。
注解
此运算符的等效方法是 SqlInt32.ToSqlByte()
另请参阅
适用于
Explicit(SqlDouble to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlDouble) As SqlByte参数
返回
一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlDouble。
注解
此运算符的等效方法是 SqlDouble.ToSqlByte()
另请参阅
适用于
Explicit(SqlDecimal to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlDecimal) As SqlByte参数
SqlDecimal 结构。
返回
一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlDecimal。
注解
此运算符的等效方法是 SqlDecimal.ToSqlByte()
另请参阅
适用于
Explicit(SqlByte to Byte)
- Source:
- SQLByte.cs
- 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 -> bytePublic Shared Narrowing Operator CType (x As SqlByte) As Byte参数
返回
一个字节,其值等于 Value 参数的 SqlByte 属性。
另请参阅
适用于
Explicit(SqlBoolean to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlBoolean) As SqlByte参数
要转换为 SqlBoolean 的 SqlByte 参数。
返回
一个 SqlByte,它的 Value 属性等于提供的 ByteValue 参数的 SqlBoolean。
注解
此运算符的等效方法是 SqlBoolean.ToSqlByte()
另请参阅
适用于
Explicit(SqlInt16 to SqlByte)
- Source:
- SQLByte.cs
- 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.SqlBytePublic Shared Narrowing Operator CType (x As SqlInt16) As SqlByte参数
返回
一个 SqlByte 结构,它的 Value 属性等于 Value 参数的 SqlInt16。
注解
此运算符的等效方法是 SqlInt16.ToSqlByte()