SqlBinary.Explicit 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
转换为 SqlBinary 结构。
重载
Explicit(SqlBinary to Byte[]) | |
Explicit(SqlGuid to SqlBinary) |
Explicit(SqlBinary to Byte[])
- Source:
- SQLBinary.cs
- Source:
- SQLBinary.cs
- Source:
- SQLBinary.cs
public:
static explicit operator cli::array <System::Byte> ^(System::Data::SqlTypes::SqlBinary x);
public static explicit operator byte[]? (System.Data.SqlTypes.SqlBinary x);
public static explicit operator byte[] (System.Data.SqlTypes.SqlBinary x);
static member op_Explicit : System.Data.SqlTypes.SqlBinary -> byte[]
Public Shared Narrowing Operator CType (x As SqlBinary) As Byte()
参数
返回
Byte[]
Byte 数组。
注解
此运算符的等效方法是 SqlBinary.Value
另请参阅
适用于
Explicit(SqlGuid to SqlBinary)
- Source:
- SQLBinary.cs
- Source:
- SQLBinary.cs
- Source:
- SQLBinary.cs
public:
static explicit operator System::Data::SqlTypes::SqlBinary(System::Data::SqlTypes::SqlGuid x);
public static explicit operator System.Data.SqlTypes.SqlBinary (System.Data.SqlTypes.SqlGuid x);
static member op_Explicit : System.Data.SqlTypes.SqlGuid -> System.Data.SqlTypes.SqlBinary
Public Shared Narrowing Operator CType (x As SqlGuid) As SqlBinary
参数
返回
要转换的 SqlGuid 结构。
注解
此运算符的等效方法是 SqlBinary.ToSqlGuid()