ImageListStreamer ImageListStreamer ImageListStreamer ImageListStreamer Class


Provides the data portion of an ImageList.

public ref class ImageListStreamer sealed : IDisposable, System::Runtime::Serialization::ISerializable
public sealed class ImageListStreamer : IDisposable, System.Runtime.Serialization.ISerializable
type ImageListStreamer = class
    interface ISerializable
    interface IDisposable
Public NotInheritable Class ImageListStreamer
Implements IDisposable, ISerializable


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).


Dispose() Dispose() Dispose() Dispose()

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to