Files.GetFileAttributeView(IPath, Class, LinkOption[]) 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 a file attribute view of a given type.
[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
Parameters
- path
- IPath
the path to the file
- type
- Class
the Class
object corresponding to the file attribute view
- options
- LinkOption[]
options indicating how symbolic links are handled
Returns
a file attribute view of the specified type, or null
if
the attribute view type is not available
- 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.