C# 클래스 FreakOut.classes.FileIcon

Enables extraction of icons for any file type from the Shell.
파일 보기 프로젝트 열기: henryford/FreakOut 1 사용 예제들

공개 메소드들

메소드 설명
FileIcon ( ) : System

Constructs a new, default instance of the FileIcon class. Specify the filename and call GetInfo() to retrieve an icon.

FileIcon ( string fileName ) : System

Constructs a new instance of the FileIcon class and retrieves the icon, display name and type name for the specified file.

FileIcon ( string fileName, FileIcon flags ) : System

Constructs a new instance of the FileIcon class and retrieves the information specified in the flags.

GetInfo ( ) : void

Gets the information for the specified file name and flags.

비공개 메소드들

메소드 설명
DestroyIcon ( IntPtr hIcon ) : int
FormatMessage ( int dwFlags, IntPtr lpSource, int dwMessageId, int dwLanguageId, string lpBuffer, uint nSize, int argumentsLong ) : int
GetLastError ( ) : int
SHGetFileInfo ( string pszPath, int dwFileAttributes, SHFILEINFO &psfi, uint cbFileInfo, uint uFlags ) : int

메소드 상세

FileIcon() 공개 메소드

Constructs a new, default instance of the FileIcon class. Specify the filename and call GetInfo() to retrieve an icon.
public FileIcon ( ) : System
리턴 System

FileIcon() 공개 메소드

Constructs a new instance of the FileIcon class and retrieves the icon, display name and type name for the specified file.
public FileIcon ( string fileName ) : System
fileName string The filename to get the icon, /// display name and type name for
리턴 System

FileIcon() 공개 메소드

Constructs a new instance of the FileIcon class and retrieves the information specified in the flags.
public FileIcon ( string fileName, FileIcon flags ) : System
fileName string The filename to get information /// for
flags FileIcon The flags to use when extracting the /// icon and other shell information.
리턴 System

GetInfo() 공개 메소드

Gets the information for the specified file name and flags.
public GetInfo ( ) : void
리턴 void