.NET Framework Class Library  

Icon Class

Represents a Windows icon, which is a small bitmap image used to represent an object. Icons can be thought of as transparent bitmaps, although their size is determined by the system.

For a list of all members of this type, see Icon Members.

System.Object
   System.MarshalByRefObject
      System.Drawing.Icon

[Visual Basic]
<Serializable>
<ComVisible(False)>
NotInheritable Public Class Icon
   Inherits MarshalByRefObject
   Implements ISerializable, ICloneable, IDisposable
[C#]
[Serializable]
[ComVisible(false)]
public sealed class Icon : MarshalByRefObject, ISerializable,
   ICloneable, IDisposable
[C++]
[Serializable]
[ComVisible(false)]
public __gc __sealed class Icon : public MarshalByRefObject,
   ISerializable, ICloneable, IDisposable
[JScript]
public
   Serializable
   ComVisible(false)
class Icon extends MarshalByRefObject implements
   ISerializable, ICloneable, IDisposable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET

Assembly: System.Drawing (in System.Drawing.dll)

See Also

Icon Members | System.Drawing Namespace