메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
getIcon ( bool large ) : |
public Open ( string linkFile ) : void | ||
linkFile | string | The shortcut file (.lnk) to load |
리턴 | 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 |
리턴 | 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. |
리턴 | void |
public Save ( string linkFile ) : void | ||
linkFile | string | The shortcut file (.lnk) |
리턴 | void |
public ShellLink ( string linkFile ) : System | ||
linkFile | string | The Shortcut file to open |
리턴 | System |