FilePermission(String, String) Constructor
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.
Creates a legacy permission object with the supplied path as its name on Android.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public FilePermission(string? path, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.IO.FilePermission : string * string -> Java.IO.FilePermission
Parameters
- path
- String
the pathname of the file/directory.
- actions
- String
the action string.
- Attributes
Remarks
On Android, this constructor stores path as the permission name and ignores actions.
Java reference for java.io.FilePermission.FilePermission.
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.