Share via


IdentityReference.Equality(IdentityReference, IdentityReference) Operatör

Tanım

Eşit olup olmadıklarını belirlemek için iki IdentityReference nesneyi karşılaştırır. Özelliği tarafından Value döndürülenle aynı kurallı ad gösterimine sahipse veya her ikisi de nullise eşit olarak kabul edilirler.

public:
 static bool operator ==(System::Security::Principal::IdentityReference ^ left, System::Security::Principal::IdentityReference ^ right);
public static bool operator == (System.Security.Principal.IdentityReference? left, System.Security.Principal.IdentityReference? right);
public static bool operator == (System.Security.Principal.IdentityReference left, System.Security.Principal.IdentityReference right);
static member ( = ) : System.Security.Principal.IdentityReference * System.Security.Principal.IdentityReference -> bool
Public Shared Operator == (left As IdentityReference, right As IdentityReference) As Boolean

Parametreler

left
IdentityReference

Eşitlik karşılaştırması için kullanılacak sol IdentityReference işlenen. Bu parametre olabilir null.

right
IdentityReference

Eşitlik karşılaştırması için kullanılacak doğru IdentityReference işlenen. Bu parametre olabilir null.

Döndürülenler

trueve right eşitse; eşit değilseleft, false.

Açıklamalar

Bu işlecin eşdeğer yöntemidir IdentityReference.Equals.

Şunlara uygulanır