SqlGuid.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
來回轉換 SqlGuid 執行個體。
多載
Explicit(SqlBinary to SqlGuid) | |
Explicit(SqlGuid to Guid) | |
Explicit(SqlString to SqlGuid) |
Explicit(SqlBinary to SqlGuid)
- 來源:
- SQLGuid.cs
- 來源:
- SQLGuid.cs
- 來源:
- 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)
- 來源:
- SQLGuid.cs
- 來源:
- SQLGuid.cs
- 來源:
- 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)
- 來源:
- SQLGuid.cs
- 來源:
- SQLGuid.cs
- 來源:
- 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 參數表示的值。