次の方法で共有


IPath.ToRealPath(LinkOption[]) Method

Definition

Returns the <em>real</em> path of an existing file.

[Android.Runtime.Register("toRealPath", "([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;", "GetToRealPath_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Nio.FileNio.IPath? ToRealPath (params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("toRealPath", "([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;", "GetToRealPath_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member ToRealPath : Java.Nio.FileNio.LinkOption[] -> Java.Nio.FileNio.IPath

Parameters

options
LinkOption[]

options indicating how symbolic links are handled

Returns

an absolute path represent the <em>real</em> path of the file located by this object

Attributes

Remarks

Java documentation for java.nio.file.Path.toRealPath(java.nio.file.LinkOption).

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