共用方式為


SqlGuid.Implicit(Guid to SqlGuid) 運算子

定義

將提供的 Guid 參數轉換成 SqlGuid

public:
 static operator System::Data::SqlTypes::SqlGuid(Guid x);
public static implicit operator System.Data.SqlTypes.SqlGuid (Guid x);
static member op_Implicit : Guid -> System.Data.SqlTypes.SqlGuid
Public Shared Widening Operator CType (x As Guid) As SqlGuid

參數

x
Guid

Guid

傳回

新的 SqlGuid,其 Value 等於 Guid 參數。

適用於

另請參閱