Files.CreateLink(IPath, IPath) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new link (directory entry) for an existing file (optional operation).
[Android.Runtime.Register("createLink", "(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;", "", ApiSince=26)]
public static Java.Nio.FileNio.IPath? CreateLink (Java.Nio.FileNio.IPath? link, Java.Nio.FileNio.IPath? existing);
[<Android.Runtime.Register("createLink", "(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;", "", ApiSince=26)>]
static member CreateLink : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IPath -> Java.Nio.FileNio.IPath
Parameters
- link
- IPath
the link (directory entry) to create
- existing
- IPath
a path to an existing file
Returns
the path to the link (directory entry)
- Attributes
Remarks
Java documentation for java.nio.file.Files.createLink(java.nio.file.Path, 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.