FileIOPermission.Equals(Object) 方法

定义

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

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

参数

o
Object

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

返回

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

属性

注解

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

适用于