Uredi

Deli z drugimi prek


NTAccount.Equality(NTAccount, NTAccount) Operator

Definition

Compares two NTAccount objects to determine whether they are equal. They are considered equal if they have the same canonical name representation as the one returned by the Value property or if they are both null.

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

Parameters

left
NTAccount

The left operand to use for the equality comparison. This parameter can be null.

right
NTAccount

The right operand to use for the equality comparison. This parameter can be null.

Returns

true if left and right are equal; otherwise false.

Applies to