共用方式為


IGroup.RemoveMember(IPrincipal) 方法

定義

從群組中移除指定的成員。

[Android.Runtime.Register("removeMember", "(Ljava/security/Principal;)Z", "GetRemoveMember_Ljava_security_Principal_Handler:Java.Security.Acl.IGroupInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool RemoveMember (Java.Security.IPrincipal? user);
[<Android.Runtime.Register("removeMember", "(Ljava/security/Principal;)Z", "GetRemoveMember_Ljava_security_Principal_Handler:Java.Security.Acl.IGroupInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveMember : Java.Security.IPrincipal -> bool

參數

user
IPrincipal

要從這個群組中移除的主體。

傳回

如果已移除主體,則為 true;如果主體不是成員,則為 false。

屬性

備註

從群組中移除指定的成員。

java.security.acl.Group.removeMember(java.security.Principal)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於