Language

IFileOwnerAttributeView.Owner Property

Definition

Gets or sets the owner of the file.

public Java.Nio.FileNio.Attributes.IUserPrincipal? Owner { [Android.Runtime.Register("getOwner", "()Ljava/nio/file/attribute/UserPrincipal;", "GetGetOwnerHandler:Java.Nio.FileNio.Attributes.IFileOwnerAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; [Android.Runtime.Register("setOwner", "(Ljava/nio/file/attribute/UserPrincipal;)V", "GetSetOwner_Ljava_nio_file_attribute_UserPrincipal_Handler:Java.Nio.FileNio.Attributes.IFileOwnerAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getOwner", "()Ljava/nio/file/attribute/UserPrincipal;", "GetGetOwnerHandler:Java.Nio.FileNio.Attributes.IFileOwnerAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
[<set: Android.Runtime.Register("setOwner", "(Ljava/nio/file/attribute/UserPrincipal;)V", "GetSetOwner_Ljava_nio_file_attribute_UserPrincipal_Handler:Java.Nio.FileNio.Attributes.IFileOwnerAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.Owner : Java.Nio.FileNio.Attributes.IUserPrincipal with get, set

Property Value

The user principal that owns the file.

Attributes

Remarks

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