System.Security.Principal.IdentityReference.op_Equality Method

Compares two System.Security.Principal.IdentityReference 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 IdentityReference.Value property or if they are both null.

Syntax

public static bool operator== (IdentityReference left, IdentityReference right)

Parameters

left
The left System.Security.Principal.IdentityReference operand to use for the equality comparison. This parameter can be null.
right
The right System.Security.Principal.IdentityReference operand to use for the equality comparison. This parameter can be null.

Returns

true if left and right are equal; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0