SqlGuid.Equality(SqlGuid, SqlGuid) 運算子

定義

執行兩個 SqlGuid 結構的邏輯比對,以判斷它們是否相等。Performs a logical comparison of two SqlGuid structures to determine whether they are equal.

public:
 static System::Data::SqlTypes::SqlBoolean operator ==(System::Data::SqlTypes::SqlGuid x, System::Data::SqlTypes::SqlGuid y);
public static System.Data.SqlTypes.SqlBoolean operator == (System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y);
static member ( = ) : System.Data.SqlTypes.SqlGuid * System.Data.SqlTypes.SqlGuid -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator == (x As SqlGuid, y As SqlGuid) As SqlBoolean

參數

x
SqlGuid

SqlGuid 結構。A SqlGuid structure.

y
SqlGuid

SqlGuid 結構。A SqlGuid structure.

傳回

SqlBoolean

SqlBoolean,如果兩個執行個體相等,則為 True,如果兩個執行個體不相等,則為 FalseA SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. 如果 SqlGuid 的任一執行個體是 null,則 ValueSqlBoolean 會是 NullIf either instance of SqlGuid is null, the Value of the SqlBoolean will be Null.

備註

這個運算子的對等方法是 SqlGuid.Equals(SqlGuid, SqlGuid)The equivalent method for this operator is SqlGuid.Equals(SqlGuid, SqlGuid).

適用於

另請參閱