C# Class Explorer.ShellFileInfo

Afficher le fichier Open project: SummerWish/vfs

Méthodes publiques

Méthode Description
GetFileIcon ( string name, IconSize size, bool linkOverlay ) : Bitmap
GetFileTypeDescription ( string fileNameOrExtension ) : string
GetFolderIcon ( IconSize size, FolderType folderType ) : Bitmap

Used to access system folder icons.

Private Methods

Méthode Description
DestroyIcon ( IntPtr hIcon ) : int
SHGetFileInfo ( string pszPath, uint dwFileAttributes, SHFILEINFO &psfi, uint cbFileInfo, uint flags ) : IntPtr

Method Details

GetFileIcon() public static méthode

public static GetFileIcon ( string name, IconSize size, bool linkOverlay ) : Bitmap
name string
size IconSize
linkOverlay bool
Résultat System.Drawing.Bitmap

GetFileTypeDescription() public static méthode

public static GetFileTypeDescription ( string fileNameOrExtension ) : string
fileNameOrExtension string
Résultat string

GetFolderIcon() public static méthode

Used to access system folder icons.
public static GetFolderIcon ( IconSize size, FolderType folderType ) : Bitmap
size IconSize Specify large or small icons.
folderType FolderType Specify open or closed FolderType.
Résultat System.Drawing.Bitmap