Share via


FileSystem.GetPath(String, String[]) Method

Definition

Converts a path string, or a sequence of strings that when joined form a path string, to a Path.

[Android.Runtime.Register("getPath", "(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;", "GetGetPath_Ljava_lang_String_arrayLjava_lang_String_Handler", ApiSince=26)]
public abstract Java.Nio.FileNio.IPath? GetPath (string? first, params string[]? more);
[<Android.Runtime.Register("getPath", "(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;", "GetGetPath_Ljava_lang_String_arrayLjava_lang_String_Handler", ApiSince=26)>]
abstract member GetPath : string * string[] -> Java.Nio.FileNio.IPath

Parameters

first
String

the path string or initial part of the path string

more
String[]

additional strings to be joined to form the path string

Returns

the resulting Path

Attributes

Remarks

Java documentation for java.nio.file.FileSystem.getPath(java.lang.String, java.lang.String).

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