Share via


IBasicFileAttributeView.ReadAttributes Method

Definition

Reads the basic file attributes as a bulk operation.

[Android.Runtime.Register("readAttributes", "()Ljava/nio/file/attribute/BasicFileAttributes;", "GetReadAttributesHandler:Java.Nio.FileNio.Attributes.IBasicFileAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Nio.FileNio.Attributes.IBasicFileAttributes? ReadAttributes ();
[<Android.Runtime.Register("readAttributes", "()Ljava/nio/file/attribute/BasicFileAttributes;", "GetReadAttributesHandler:Java.Nio.FileNio.Attributes.IBasicFileAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member ReadAttributes : unit -> Java.Nio.FileNio.Attributes.IBasicFileAttributes

Returns

the file attributes

Attributes

Remarks

Reads the basic file attributes as a bulk operation.

It is implementation specific if all file attributes are read as an atomic operation with respect to other file system operations.

Java documentation for java.nio.file.attribute.BasicFileAttributeView.readAttributes().

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