Share via


FileSystem.SupportedFileAttributeViews Method

Definition

Returns the set of the FileAttributeView#name names of the file attribute views supported by this FileSystem.

[Android.Runtime.Register("supportedFileAttributeViews", "()Ljava/util/Set;", "GetSupportedFileAttributeViewsHandler", ApiSince=26)]
public abstract System.Collections.Generic.ICollection<string>? SupportedFileAttributeViews ();
[<Android.Runtime.Register("supportedFileAttributeViews", "()Ljava/util/Set;", "GetSupportedFileAttributeViewsHandler", ApiSince=26)>]
abstract member SupportedFileAttributeViews : unit -> System.Collections.Generic.ICollection<string>

Returns

An unmodifiable set of the names of the supported file attribute views

Attributes

Remarks

Returns the set of the FileAttributeView#name names of the file attribute views supported by this FileSystem.

The BasicFileAttributeView is required to be supported and therefore the set contains at least one element, "basic".

The FileStore#supportsFileAttributeView(String) supportsFileAttributeView(String) method may be used to test if an underlying FileStore supports the file attributes identified by a file attribute view.

Java documentation for java.nio.file.FileSystem.supportedFileAttributeViews().

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