Redigera

Dela via


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);
public static bool operator == (System.Security.AccessControl.GenericAce left, System.Security.AccessControl.GenericAce right);
static member ( = ) : System.Security.AccessControl.GenericAce * System.Security.AccessControl.GenericAce -> bool
Public Shared Operator == (left As GenericAce, right As GenericAce) As Boolean

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