IPosixFileAttributeView.SetPermissions Method
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.
Updates the file permissions.
[Android.Runtime.Register("setPermissions", "(Ljava/util/Set;)V", "GetSetPermissions_Ljava_util_Set_Handler:Java.Nio.FileNio.Attributes.IPosixFileAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public void SetPermissions (System.Collections.Generic.ICollection<Java.Nio.FileNio.Attributes.PosixFilePermission>? perms);
[<Android.Runtime.Register("setPermissions", "(Ljava/util/Set;)V", "GetSetPermissions_Ljava_util_Set_Handler:Java.Nio.FileNio.Attributes.IPosixFileAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member SetPermissions : System.Collections.Generic.ICollection<Java.Nio.FileNio.Attributes.PosixFilePermission> -> unit
Parameters
- perms
- ICollection<PosixFilePermission>
the new set of permissions
- Attributes
Remarks
Updates the file permissions.
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.