Dil

FilePermission.Equals(Object) Method

Definition

Checks two FilePermission objects for equality.

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")]
public override bool Equals(Java.Lang.Object? obj);
[<Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")>]
override this.Equals : Java.Lang.Object -> bool

Parameters

obj
Object

the object we are testing for equality with this object.

Returns

true if obj is a FilePermission, and has the same pathname and actions as this FilePermission object, false otherwise.

Attributes

Remarks

Checks two FilePermission objects for equality. Checks that obj is a FilePermission, and has the same pathname and actions as this object.

Java reference for java.io.FilePermission.equals.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to