Icon Members
.NET Framework 1.1
Public Constructors
Icon Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of the Icon class from the specified file name. |
Public Properties
Handle | Gets the Windows handle for this Icon object. This is not a copy of the handle; do not free it. |
Height Supported by the .NET Compact Framework. | Gets the height of this Icon object. |
Size | Gets the size of this Icon object. |
Width Supported by the .NET Compact Framework. | Gets the width of this Icon object. |
Public Methods
Clone | Clones the Icon object, creating a duplicate image. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose Supported by the .NET Compact Framework. | Releases all resources used by this Icon object. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
![]() FromHandle | Creates a GDI+ Icon object from the specified Windows handle to an icon (HICON). |
GetHashCode (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. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
Save | Saves this Icon object to the specified output Stream object. |
ToBitmap | Converts this Icon object to a GDI+ Bitmap object. |
ToString Supported by the .NET Compact Framework. | Overridden. Gets a human-readable string that describes the Icon object. |
Protected Methods
Finalize Supported by the .NET Compact Framework. | Overridden. See Object.Finalize.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
