PosixFilePermissions.ToString(ICollection<PosixFilePermission>) 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.
Returns the String
representation of a set of permissions.
[Android.Runtime.Register("toString", "(Ljava/util/Set;)Ljava/lang/String;", "", ApiSince=26)]
public static string? ToString (System.Collections.Generic.ICollection<Java.Nio.FileNio.Attributes.PosixFilePermission>? perms);
[<Android.Runtime.Register("toString", "(Ljava/util/Set;)Ljava/lang/String;", "", ApiSince=26)>]
static member ToString : System.Collections.Generic.ICollection<Java.Nio.FileNio.Attributes.PosixFilePermission> -> string
Parameters
- perms
- ICollection<PosixFilePermission>
the set of permissions
Returns
the string representation of the permission set
- Attributes
Remarks
Returns the String
representation of a set of permissions. It is guaranteed that the returned String
can be parsed by the #fromString
method.
If the set contains null
or elements that are not of type PosixFilePermission
then these elements are ignored.
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.