UniqueId.Equality(UniqueId, UniqueId) Operador

Definición

Reemplaza al operador de igualdad para comprobar la igualdad de dos UniqueIds.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

Parámetros

id1
UniqueId

Primer objeto UniqueId.The first UniqueId.

id2
UniqueId

Segundo objeto UniqueId.The second UniqueId.

Devoluciones

Boolean

true si los dos UniqueId son iguales, o ambos son null; false si no son iguales, o si sólo uno de ellos es null.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.

Comentarios

El método equivalente para este operador es UniqueId.EqualsThe equivalent method for this operator is UniqueId.Equals

Se aplica a