FileCreateSymbolicLink Method (String, String, SymbolicLinkTarget) |
Note: This API is now obsolete.
[AlphaFS] Creates a symbolic link (similar to CMD command: "MKLINK") to a file.
Remarks
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax [ObsoleteAttribute("Methods with SymbolicLinkTarget parameter are obsolete.")]
public static void CreateSymbolicLink(
string symlinkFileName,
string targetFileName,
SymbolicLinkTarget targetType
)
<ObsoleteAttribute("Methods with SymbolicLinkTarget parameter are obsolete.")>
Public Shared Sub CreateSymbolicLink (
symlinkFileName As String,
targetFileName As String,
targetType As SymbolicLinkTarget
)
public:
[ObsoleteAttribute(L"Methods with SymbolicLinkTarget parameter are obsolete.")]
static void CreateSymbolicLink(
String^ symlinkFileName,
String^ targetFileName,
SymbolicLinkTarget targetType
)
[<ObsoleteAttribute("Methods with SymbolicLinkTarget parameter are obsolete.")>]
static member CreateSymbolicLink :
symlinkFileName : string *
targetFileName : string *
targetType : SymbolicLinkTarget -> 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.
Exceptions See Also