FileCreateSymbolicLink Method (String, String, SymbolicLinkTarget, PathFormat) |
[AlphaFS] Creates a symbolic link.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void CreateSymbolicLink(
string symlinkFileName,
string targetFileName,
SymbolicLinkTarget targetType,
PathFormat pathFormat
)
Public Shared Sub CreateSymbolicLink (
symlinkFileName As String,
targetFileName As String,
targetType As SymbolicLinkTarget,
pathFormat As PathFormat
)
public:
static void CreateSymbolicLink(
String^ symlinkFileName,
String^ targetFileName,
SymbolicLinkTarget targetType,
PathFormat pathFormat
)
static member CreateSymbolicLink :
symlinkFileName : string *
targetFileName : string *
targetType : SymbolicLinkTarget *
pathFormat : PathFormat -> unit
Parameters
- symlinkFileName
- Type: SystemString
The name of the target for the symbolic link to be created. - targetFileName
- Type: SystemString
The symbolic link to be created. - targetType
- Type: Alphaleonis.Win32.FilesystemSymbolicLinkTarget
Indicates whether the link target, targetFileName, is a file or directory. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions Remarks See Also