共用方式為


PermissionCollection.Add(Permission) Method

Definition

Adds a permission object to the current collection of permission objects.

[Android.Runtime.Register("add", "(Ljava/security/Permission;)V", "GetAdd_Ljava_security_Permission_Handler")]
public abstract void Add (Java.Security.Permission? permission);
[<Android.Runtime.Register("add", "(Ljava/security/Permission;)V", "GetAdd_Ljava_security_Permission_Handler")>]
abstract member Add : Java.Security.Permission -> unit

Parameters

permission
Permission

the Permission object to add.

Attributes

Remarks

Adds a permission object to the current collection of permission objects.

Java documentation for java.security.PermissionCollection.add(java.security.Permission).

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