This documentation is archived and is not being maintained.

Icon Methods

The Icon type exposes the following members.

  NameDescription
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. (Inherited from Object.)
Public method Static member FromHandle Creates a GDI+ Icon from the specified Windows handle to an icon (HICON).
Public method GetHashCode Serves as a hash function for a particular type. (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.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (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().)
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo with the data that is required to serialize the target object.
Top
Show: