FileIOPermission.Equals(Object) Method

Definition

确定指定的 FileIOPermission 对象是否等于当前的 FileIOPermissionDetermines whether the specified FileIOPermission object is equal to the current FileIOPermission.

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

Parameters

oobj
Object

要与当前的 FileIOPermission 比较的 FileIOPermission 对象。The FileIOPermission object to compare with the current FileIOPermission.

Returns

Boolean

如果指定的 FileIOPermission 等于当前的 FileIOPermission 对象,则为 true;否则为 falsetrue if the specified FileIOPermission is equal to the current FileIOPermission object; otherwise, false.

Attributes

Remarks

有关详细信息,请参阅 EqualsFor more information, see Equals.

Applies to