ReflectPermission Constructors
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.
Overloads
| Name | Description |
|---|---|
| ReflectPermission(String) |
Creates a |
| ReflectPermission(String, String) |
Creates a |
ReflectPermission(String)
Creates a ReflectPermission with the specified name.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ReflectPermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.Reflect.ReflectPermission : string -> Java.Lang.Reflect.ReflectPermission
Parameters
- name
- String
The name of the permission.
- Attributes
Remarks
Creates a ReflectPermission with the specified name.
Java documentation for java.lang.reflect.ReflectPermission.ReflectPermission(String).
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
ReflectPermission(String, String)
Creates a ReflectPermission with the specified name and actions.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public ReflectPermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Lang.Reflect.ReflectPermission : string * string -> Java.Lang.Reflect.ReflectPermission
Parameters
- name
- String
The name of the permission.
- actions
- String
Should be null; this value is ignored.
- Attributes
Remarks
Creates a ReflectPermission with the specified name and actions. The actions value should be null because it is ignored.
Java documentation for java.lang.reflect.ReflectPermission.ReflectPermission(String, String).
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.