[This is preliminary documentation and is subject to change.]
Creates new instace of the ShellLink class
Namespace: Tools.IOtAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public ShellLink( string ExistingLink ) |
| Visual Basic |
|---|
Public Sub New ( _ ExistingLink As String _ ) |
| Visual C++ |
|---|
public: ShellLink( String^ ExistingLink ) |
| F# |
|---|
new : ExistingLink:string -> ShellLink |
| JScript |
|---|
public function ShellLink( ExistingLink : String ) |
Parameters
- ExistingLink
- Type: System..::..String
Path of existing *.LNK file
Exceptions
| Exception | Condition |
|---|---|
| System.IO..::..FileNotFoundException | File ExistingLink does not exist |
| System..::..ArgumentException | Link cannot be opened |