C# Class Microsoft.WindowsAPICodePack.Shell.StockIcon

Represents a standard system icon.
Inheritance: IDisposable
Afficher le fichier Open project: dlech/SshAgentLib Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Release the native objects

StockIcon ( StockIconIdentifier id ) : System

Creates a new StockIcon instance with the specified identifer, default size and no link overlay or selected states.

StockIcon ( StockIconIdentifier id, StockIconSize size, bool isLinkOverlay, bool isSelected ) : System

Creates a new StockIcon instance with the specified identifer and options.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Release the native and managed objects

Private Methods

Méthode Description
GetHIcon ( ) : IntPtr
UpdateHIcon ( ) : void

Method Details

Dispose() public méthode

Release the native objects
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Release the native and managed objects
protected Dispose ( bool disposing ) : void
disposing bool Indicates that this is being called from Dispose(), rather than the finalizer.
Résultat void

StockIcon() public méthode

Creates a new StockIcon instance with the specified identifer, default size and no link overlay or selected states.
public StockIcon ( StockIconIdentifier id ) : System
id StockIconIdentifier A value that identifies the icon represented by this instance.
Résultat System

StockIcon() public méthode

Creates a new StockIcon instance with the specified identifer and options.
public StockIcon ( StockIconIdentifier id, StockIconSize size, bool isLinkOverlay, bool isSelected ) : System
id StockIconIdentifier A value that identifies the icon represented by this instance.
size StockIconSize A value that indicates the size of the stock icon.
isLinkOverlay bool A bool value that indicates whether the icon has a link overlay.
isSelected bool A bool value that indicates whether the icon is in a selected state.
Résultat System