GenericAce.Equality(GenericAce, GenericAce) Operator

Definition

Determines whether the specified GenericAce objects are considered equal.

public static bool operator == (System.Security.AccessControl.GenericAce? left, System.Security.AccessControl.GenericAce? right);
public static bool operator == (System.Security.AccessControl.GenericAce left, System.Security.AccessControl.GenericAce right);

Parameters

left
GenericAce

The first GenericAce object to compare.

right
GenericAce

The second GenericAce to compare.

Returns

true if the two GenericAce objects are equal; otherwise, false.

Remarks

The equivalent method for this operator is GenericAce.Equals.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5