FileSystemInfo.CreateAsSymbolicLink(String) Methode

Definitie

Hiermee maakt u een symbolische koppeling in FullName die verwijst naar de opgegeven pathToTarget.

public:
 void CreateAsSymbolicLink(System::String ^ pathToTarget);
public void CreateAsSymbolicLink(string pathToTarget);
member this.CreateAsSymbolicLink : string -> unit
Public Sub CreateAsSymbolicLink (pathToTarget As String)

Parameters

pathToTarget
String

Het pad van het symbolische koppelingsdoel.

Uitzonderingen

pathToTarget is null.

pathToTarget is leeg.

– of –

pathToTarget bevat ongeldige padtekens.

Er bestaat al een bestand of map op de locatie van FullName.

– of –

Er is een I/O-fout opgetreden.

Van toepassing op

Zie ook