ImageListStreamer 類別

定義

提供 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
繼承
ImageListStreamer
屬性
實作

備註

這是密封類別,因此您無法繼承它。 此外,建構函式是私用的,因此您無法建立它的新實例。 的 ImageListStreamer 屬性 ImageList 會傳 ImageStream 回 。 不過,您無法使用這個類別,藉由直接從一個 ImageList 指派 ImageStream 屬性,將影像 ImageList 載入控制項。 相反地,您應該直接將一個實例指派給另一個 ImageList (例如 ImageList2 = ImageList1)

方法

Dispose()

釋放 ImageListStreamer 類別目前的執行個體所使用的全部資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetObjectData(SerializationInfo, StreamingContext)

將序列化目標物件所需的資料填入 SerializationInfo

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於