ImageListStreamer Class
Collapse the table of content
Expand the table of content

ImageListStreamer Class


Provides the data portion of an ImageList.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)


public sealed class ImageListStreamer : ISerializable, IDisposable


Releases all resources used by the current instance of the ImageListStreamer class.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.


Gets the Type of the current instance.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

This is a sealed class, so you can not inherit from it. Also, the constructor is private, so you cannot create a new instance of it. An ImageListStreamer is returned by the ImageStream property of the ImageList. However, you cannot use this class to load images to an ImageList control by directly assigning the ImageStream property from one ImageList. Instead you should directly assign one ImageList instance to another (for example, ImageList2 = ImageList1).

.NET Framework
Available since 1.1

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

Return to top
© 2015 Microsoft