語言

IFileOwnerAttributeView.Owner 屬性

定義

取得或設定檔案擁有者。

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

屬性值

擁有該檔案的使用者主體。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於