Export (0) Print
Expand All

Icon Members

Icon overview

Public Constructors

public constructorIcon Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the Icon class from the specified file name.

Public Properties

public propertyHandle Gets the Windows handle for this Icon object. This is not a copy of the handle; do not free it.
public propertyHeight

Supported by the .NET Compact Framework.

Gets the height of this Icon object.
public propertySize Gets the size of this Icon object.
public propertyWidth

Supported by the .NET Compact Framework.

Gets the width of this Icon object.

Public Methods

public methodClone Clones the Icon object, creating a duplicate image.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose

Supported by the .NET Compact Framework.

Releases all resources used by this Icon object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodstatic (Shared in Visual Basic)FromHandle Creates a GDI+ Icon object from the specified Windows handle to an icon (HICON).
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodSave Saves this Icon object to the specified output Stream object.
public methodToBitmap Converts this Icon object to a GDI+ Bitmap object.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Gets a human-readable string that describes the Icon object.

Protected Methods

protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Icon Class | System.Drawing Namespace

Show:
© 2014 Microsoft