ImageListStreamer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the data portion of an ImageList.
public ref class ImageListStreamer sealed : System::Runtime::Serialization::ISerializable
public ref class ImageListStreamer sealed : IDisposable, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class ImageListStreamer : System.Runtime.Serialization.ISerializable
[System.Serializable]
public sealed class ImageListStreamer : IDisposable, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type ImageListStreamer = class
interface ISerializable
[<System.Serializable>]
type ImageListStreamer = class
interface ISerializable
interface IDisposable
Public NotInheritable Class ImageListStreamer
Implements ISerializable
Public NotInheritable Class ImageListStreamer
Implements IDisposable, ISerializable
- Inheritance
-
ImageListStreamer
- Attributes
- Implements
Remarks
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)
.
Methods
Dispose() |
Releases all resources used by the current instance of the ImageListStreamer class. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data needed to serialize the target object. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET