PrincipalPermission.Equals(Object) 方法

定义

确定指定的 PrincipalPermission 对象是否等于当前的 PrincipalPermission

public:
 override bool Equals(System::Object ^ obj);
public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object obj);
[System.Runtime.InteropServices.ComVisible(false)]
public override bool Equals (object obj);
public override bool Equals (object o);
override this.Equals : obj -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Public Overrides Function Equals (o As Object) As Boolean

参数

objo
Object

要与当前的 PrincipalPermission 比较的 PrincipalPermission 对象。

返回

如果指定的 PrincipalPermission 等于当前的 PrincipalPermission 对象,则为 true;否则为 false

属性

注解

有关详细信息,请参阅 Equals

适用于