UniqueId.Equality(UniqueId, UniqueId) Operator

Definitie

Overschrijft de gelijkheidsoperator om te testen op gelijkheid van twee UniqueIds.

public:
 static bool operator ==(System::Xml::UniqueId ^ id1, System::Xml::UniqueId ^ id2);
public static bool operator ==(System.Xml.UniqueId id1, System.Xml.UniqueId id2);
public static bool operator ==(System.Xml.UniqueId? id1, System.Xml.UniqueId? id2);
static member ( = ) : System.Xml.UniqueId * System.Xml.UniqueId -> bool
Public Shared Operator == (id1 As UniqueId, id2 As UniqueId) As Boolean

Parameters

id1
UniqueId

De eerste UniqueId.

id2
UniqueId

De tweede UniqueId.

Retouren

true als de twee UniqueIds gelijk zijn of beide nullzijn; false als ze niet gelijk zijn, of als slechts één van beide is null.

Opmerkingen

De equivalente methode voor deze operator is UniqueId.Equals

Van toepassing op