GenericAce.Equality(GenericAce, GenericAce) 操作员

定义

确定指定的 GenericAce 对象是否被视为相等。

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

参数

left
GenericAce

要比较的第一个 GenericAce 对象。

right
GenericAce

要比较的第二个 GenericAce

返回

如果两个 GenericAce 对象相等,则为 true;否则为 false

注解

此运算符 GenericAce.Equals的等效方法是 。

适用于