SqlGuid.Explicit 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与 SqlGuid 实例互相转换。
重载
Explicit(SqlBinary to SqlGuid) | |
Explicit(SqlGuid to Guid) | |
Explicit(SqlString to SqlGuid) |
Explicit(SqlBinary to SqlGuid)
- Source:
- SQLGuid.cs
- Source:
- SQLGuid.cs
- Source:
- SQLGuid.cs
public:
static explicit operator System::Data::SqlTypes::SqlGuid(System::Data::SqlTypes::SqlBinary x);
public static explicit operator System.Data.SqlTypes.SqlGuid (System.Data.SqlTypes.SqlBinary x);
static member op_Explicit : System.Data.SqlTypes.SqlBinary -> System.Data.SqlTypes.SqlGuid
Public Shared Narrowing Operator CType (x As SqlBinary) As SqlGuid
参数
SqlBinary
对象。
返回
一个新的 SqlGuid,它的 Value 等于 Value 参数的 SqlBinary。
另请参阅
适用于
Explicit(SqlGuid to Guid)
- Source:
- SQLGuid.cs
- Source:
- SQLGuid.cs
- Source:
- SQLGuid.cs
public:
static explicit operator Guid(System::Data::SqlTypes::SqlGuid x);
public static explicit operator Guid (System.Data.SqlTypes.SqlGuid x);
static member op_Explicit : System.Data.SqlTypes.SqlGuid -> Guid
Public Shared Narrowing Operator CType (x As SqlGuid) As Guid
参数
返回
另请参阅
适用于
Explicit(SqlString to SqlGuid)
- Source:
- SQLGuid.cs
- Source:
- SQLGuid.cs
- Source:
- SQLGuid.cs
public:
static explicit operator System::Data::SqlTypes::SqlGuid(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlGuid (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlGuid
Public Shared Narrowing Operator CType (x As SqlString) As SqlGuid
参数
返回
一个 SqlGuid,其 Value 等于 SqlString 参数表示的值。