共用方式為


IAcl.RemoveEntry(IPrincipal, IAclEntry) Method

Definition

Removes an ACL entry from this ACL.

[Android.Runtime.Register("removeEntry", "(Ljava/security/Principal;Ljava/security/acl/AclEntry;)Z", "GetRemoveEntry_Ljava_security_Principal_Ljava_security_acl_AclEntry_Handler:Java.Security.Acl.IAclInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool RemoveEntry (Java.Security.IPrincipal? caller, Java.Security.Acl.IAclEntry? entry);
[<Android.Runtime.Register("removeEntry", "(Ljava/security/Principal;Ljava/security/acl/AclEntry;)Z", "GetRemoveEntry_Ljava_security_Principal_Ljava_security_acl_AclEntry_Handler:Java.Security.Acl.IAclInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveEntry : Java.Security.IPrincipal * Java.Security.Acl.IAclEntry -> bool

Parameters

caller
IPrincipal

the principal invoking this method. It must be an owner of this ACL.

entry
IAclEntry

the ACL entry to be removed from this ACL.

Returns

true on success, false if the entry is not part of this ACL.

Attributes

Exceptions

if the invoking Principal is not an owner of this ACL.

Remarks

Removes an ACL entry from this ACL.

Java documentation for java.security.acl.Acl.removeEntry(java.security.Principal, java.security.acl.AclEntry).

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