SqlGuid.Implicit(Guid to SqlGuid) 運算子

定義

將提供的 Guid 參數轉換成 SqlGuidConverts the supplied Guid parameter to 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

GuidA Guid.

傳回

SqlGuid

新的 SqlGuid,其 Value 等於 Guid 參數。A new SqlGuid whose Value is equal to the Guid parameter.

適用於

另請參閱