Editar

Compartilhar via


UniqueId.Equality(UniqueId, UniqueId) Operator

Definition

Overrides the equality operator to test for equality of two 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

The first UniqueId.

id2
UniqueId

The second UniqueId.

Returns

true if the two UniqueIds are equal, or are both null; false if they are not equal, or if only one of them is null.

Remarks

The equivalent method for this operator is UniqueId.Equals

Applies to