Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Dispose the object, releasing the COM ShellLink object
|
|
Open ( string linkFile ) : void |
Loads a shortcut from the specified file
|
|
Open ( string linkFile, |
Loads a shortcut from the specified file, and allows flags controlling the UI behaviour if the shortcut's target isn't found to be set.
|
|
Open ( string linkFile, |
Loads a shortcut from the specified file, and allows flags controlling the UI behaviour if the shortcut's target isn't found to be set. If no SLR_NO_UI is specified, you can also specify a timeout.
|
|
Save ( ) : void |
Saves the shortcut to ShortCutFile.
|
|
Save ( string linkFile ) : void |
Saves the shortcut to the specified file
|
|
ShellLink ( ) : System |
Creates an instance of the Shell Link object.
|
|
ShellLink ( string linkFile ) : System |
Creates an instance of a Shell Link object from the specified link file
|
Méthode | Description | |
---|---|---|
getIcon ( bool large ) : |
public Open ( string linkFile ) : void | ||
linkFile | string | The shortcut file (.lnk) to load |
Résultat | void |
public Open ( string linkFile, |
||
linkFile | string | The shortcut file (.lnk) to load |
hWnd | The window handle of the application's UI, if any | |
resolveFlags | EShellLinkResolveFlags | Flags controlling resolution behaviour |
Résultat | void |
public Open ( string linkFile, |
||
linkFile | string | The shortcut file (.lnk) to load |
hWnd | The window handle of the application's UI, if any | |
resolveFlags | EShellLinkResolveFlags | Flags controlling resolution behaviour |
timeOut | ushort | Timeout if SLR_NO_UI is specified, in ms. |
Résultat | void |
public Save ( string linkFile ) : void | ||
linkFile | string | The shortcut file (.lnk) |
Résultat | void |
public ShellLink ( string linkFile ) : System | ||
linkFile | string | The Shortcut file to open |
Résultat | System |