Sdílet prostřednictvím


FileSystemProvider.GetFileStore(IPath) Method

Definition

Returns the FileStore representing the file store where a file is located.

[Android.Runtime.Register("getFileStore", "(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;", "GetGetFileStore_Ljava_nio_file_Path_Handler", ApiSince=26)]
public abstract Java.Nio.FileNio.FileStore? GetFileStore (Java.Nio.FileNio.IPath? path);
[<Android.Runtime.Register("getFileStore", "(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;", "GetGetFileStore_Ljava_nio_file_Path_Handler", ApiSince=26)>]
abstract member GetFileStore : Java.Nio.FileNio.IPath -> Java.Nio.FileNio.FileStore

Parameters

path
IPath

the path to the file

Returns

the file store where the file is stored

Attributes

Remarks

Returns the FileStore representing the file store where a file is located. This method works in exactly the manner specified by the Files#getFileStore method.

Java documentation for java.nio.file.spi.FileSystemProvider.getFileStore(java.nio.file.Path).

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