Files.GetFileAttributeView(IPath, Class, LinkOption[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳特定類型的檔案屬性檢視。
[Android.Runtime.Register("getFileAttributeView", "(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "", ApiSince=26)]
[Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })]
public static Java.Lang.Object? GetFileAttributeView(Java.Nio.FileNio.IPath? path, Java.Lang.Class? type, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("getFileAttributeView", "(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "", ApiSince=26)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })>]
static member GetFileAttributeView : Java.Nio.FileNio.IPath * Java.Lang.Class * Java.Nio.FileNio.LinkOption[] -> Java.Lang.Object
參數
- path
- IPath
檔案路徑
- type
- Class
Class對應於檔案屬性檢視的物件
- options
- LinkOption[]
指示符號連結如何處理的選項
傳回
指定類型的檔案屬性檢視,或 null 在該屬性檢視類型無法使用時使用
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。