共用方式為


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

適用於