Icon Constructor

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

Name Description
Icon (Stream) Initializes a new instance of the Icon class from the specified data stream.

Supported by the .NET Compact Framework.

Icon (String) Initializes a new instance of the Icon class from the specified file name.
Icon (Icon, Size) Initializes a new instance of the Icon class and attempts to find a version of the icon that matches the requested size.
Icon (Stream, Size) Initializes a new instance of the Icon class of the specified size from the specified stream.
Icon (String, Size) Initializes a new instance of the Icon class of the specified size from the specified file.
Icon (Type, String) Initializes a new instance of the Icon class from a resource in the specified assembly.
Icon (Icon, Int32, Int32) Initializes a new instance of the Icon class and attempts to find a version of the icon that matches the requested size.
Icon (Stream, Int32, Int32) Initializes a new instance of the Icon class from the specified data stream and with the specified width and height.

Supported by the .NET Compact Framework.

Icon (String, Int32, Int32) Initializes a new instance of the Icon class with the specified width and height from the specified file.

Community Additions

ADD
Show: