FilePermission.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.