Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Icon Methods

The Icon type exposes the following members.

  Name Description
Public method Clone Clones the Icon, creating a duplicate image.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose Releases all resources used by this Icon.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Static member ExtractAssociatedIcon Returns an icon representation of an image that is contained in the specified file.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public method Static member FromHandle Creates a GDI+ Icon from the specified Windows handle to an icon (HICON).
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Save Saves this Icon to the specified output Stream.
Public method ToBitmap Converts this Icon to a GDI+ Bitmap.
Public method ToString Gets a human-readable string that describes the Icon. (Overrides Object.ToString().)

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo with the data that is required to serialize the target object.
© 2015 Microsoft