Udostępnij za pośrednictwem


IPosixFileAttributes.Owner Method

Definition

Returns the owner of the file.

[Android.Runtime.Register("owner", "()Ljava/nio/file/attribute/UserPrincipal;", "GetOwnerHandler:Java.Nio.FileNio.Attributes.IPosixFileAttributesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Nio.FileNio.Attributes.IUserPrincipal? Owner ();
[<Android.Runtime.Register("owner", "()Ljava/nio/file/attribute/UserPrincipal;", "GetOwnerHandler:Java.Nio.FileNio.Attributes.IPosixFileAttributesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Owner : unit -> Java.Nio.FileNio.Attributes.IUserPrincipal

Returns

the file owner

Attributes

Remarks

Returns the owner of the file.

Java documentation for java.nio.file.attribute.PosixFileAttributes.owner().

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