C# 클래스 SystemEx.ShellLink

Utility class to aid working with shortcut (.lnk) files.
상속: IDisposable
파일 보기 프로젝트 열기: pvginkel/SystemEx

Private Properties

프로퍼티 타입 설명
Dispose void
Open void
Open void
getIcon System.Drawing.Icon

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resources used by the ShellLink.

Open ( string linkFile ) : void

Loads a shortcut from the specified location.

Save ( ) : void

Saves the shortcut to the path stored in ShortcutFile.

Save ( string linkFile ) : void

Saves the shortcut to the specified location/

ShellLink ( ) : System

Initializes a new instance of the ShellLink class.

ShellLink ( string linkFile ) : System

Initializes a new instance of the ShellLink class from a specific link file.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Open ( string linkFile, IntPtr hWnd, ShellLinkResolveType resolveFlags ) : void
Open ( string linkFile, IntPtr hWnd, ShellLinkResolveType resolveFlags, ushort timeout ) : void
getIcon ( bool large ) : Icon

메소드 상세

Dispose() 공개 메소드

Releases all resources used by the ShellLink.
public Dispose ( ) : void
리턴 void

Open() 공개 메소드

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

Save() 공개 메소드

Saves the shortcut to the path stored in ShortcutFile.
public Save ( ) : void
리턴 void

Save() 공개 메소드

Saves the shortcut to the specified location/
public Save ( string linkFile ) : void
linkFile string The path to store the shortcut to.
리턴 void

ShellLink() 공개 메소드

Initializes a new instance of the ShellLink class.
public ShellLink ( ) : System
리턴 System

ShellLink() 공개 메소드

Initializes a new instance of the ShellLink class from a specific link file.
public ShellLink ( string linkFile ) : System
linkFile string The Shortcut file to open.
리턴 System