Files.GetAttribute(IPath, String, 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.
Reads the value of a file attribute.
[Android.Runtime.Register("getAttribute", "(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/lang/Object;", "", ApiSince=26)]
public static Java.Lang.Object? GetAttribute (Java.Nio.FileNio.IPath? path, string? attribute, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("getAttribute", "(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/lang/Object;", "", ApiSince=26)>]
static member GetAttribute : Java.Nio.FileNio.IPath * string * Java.Nio.FileNio.LinkOption[] -> Java.Lang.Object
Parameters
- path
- IPath
the path to the file
- attribute
- String
the attribute to read
- options
- LinkOption[]
options indicating how symbolic links are handled
Returns
the attribute value
- 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.