C# 클래스 vbAccelerator.Components.Shell.ShellLink

Summary description for ShellLink.
상속: IDisposable
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose the object, releasing the COM ShellLink object

Open ( string linkFile ) : void

Loads a shortcut from the specified file

Open ( string linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags ) : void

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, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, ushort timeOut ) : void

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 ) : Icon

메소드 상세

Dispose() 공개 메소드

Dispose the object, releasing the COM ShellLink object
public Dispose ( ) : void
리턴 void

Open() 공개 메소드

Loads a shortcut from the specified file
public Open ( string linkFile ) : void
linkFile string The shortcut file (.lnk) to load
리턴 void

Open() 공개 메소드

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.
public Open ( string linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags ) : void
linkFile string The shortcut file (.lnk) to load
hWnd System.IntPtr The window handle of the application's UI, if any
resolveFlags EShellLinkResolveFlags Flags controlling resolution behaviour
리턴 void

Open() 공개 메소드

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.
public Open ( string linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, ushort timeOut ) : void
linkFile string The shortcut file (.lnk) to load
hWnd System.IntPtr 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

Save() 공개 메소드

Saves the shortcut to ShortCutFile.
public Save ( ) : void
리턴 void

Save() 공개 메소드

Saves the shortcut to the specified file
public Save ( string linkFile ) : void
linkFile string The shortcut file (.lnk)
리턴 void

ShellLink() 공개 메소드

Creates an instance of the Shell Link object.
public ShellLink ( ) : System
리턴 System

ShellLink() 공개 메소드

Creates an instance of a Shell Link object from the specified link file
public ShellLink ( string linkFile ) : System
linkFile string The Shortcut file to open
리턴 System