Aracılığıyla paylaş


LinkPermission Constructors

Definition

Overloads

LinkPermission(String)

Constructs a LinkPermission with the specified name.

LinkPermission(String, String)

Constructs a LinkPermission with the specified name.

LinkPermission(String)

Constructs a LinkPermission with the specified name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public LinkPermission (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.LinkPermission : string -> Java.Nio.FileNio.LinkPermission

Parameters

name
String

the name of the permission. It must be "hard" or "symbolic".

Attributes

Remarks

Constructs a LinkPermission with the specified name.

Java documentation for java.nio.file.LinkPermission.LinkPermission(java.lang.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

LinkPermission(String, String)

Constructs a LinkPermission with the specified name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=26)]
public LinkPermission (string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.LinkPermission : string * string -> Java.Nio.FileNio.LinkPermission

Parameters

name
String

the name of the permission; must be "hard" or "symbolic".

actions
String

the actions for the permission; must be the empty string or null

Attributes

Remarks

Constructs a LinkPermission with the specified name.

Java documentation for java.nio.file.LinkPermission.LinkPermission(java.lang.String, java.lang.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