ImageListStreamer ImageListStreamer ImageListStreamer ImageListStreamer Class


提供的資料部分ImageListProvides 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. ImageListStreamerImageStream屬性ImageListAn ImageListStreamer is returned by the ImageStream property of the ImageList. 不過,您無法使用這個類別來載入映像發佈至ImageList藉由直接指派的控制項ImageStream屬性從某個ImageListHowever, you cannot use this class to load images to an ImageList control by directly assigning the ImageStream property from one ImageList. 而是您應該直接指派其中一個ImageList到另一個執行個體 (例如ImageList2 = ImageList1)Instead you should directly assign one ImageList instance to another (for example, ImageList2 = ImageList1).


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

釋放 ImageListStreamer 類別目前的執行個體所使用的全部資源。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)

將序列化目標物件所需的資料填入 SerializationInfoPopulates a SerializationInfo with the data needed to serialize the target object.

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

取得目前執行個體的 TypeGets the Type of the current instance.

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

建立目前 Object 的淺層複本 (Shallow Copy)。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)