ImageListStreamer 类

提供 ImageList 的数据部分。

**命名空间:**System.Windows.Forms
**程序集:**System.Windows.Forms(在 system.windows.forms.dll 中)

语法

声明
<SerializableAttribute> _
Public NotInheritable Class ImageListStreamer
    Implements ISerializable
用法
Dim instance As ImageListStreamer
[SerializableAttribute] 
public sealed class ImageListStreamer : ISerializable
[SerializableAttribute] 
public ref class ImageListStreamer sealed : ISerializable
/** @attribute SerializableAttribute() */ 
public final class ImageListStreamer implements ISerializable
SerializableAttribute 
public final class ImageListStreamer implements ISerializable

备注

这是一个密封类,因此无法从它继承。而且,该构造函数是私有的,因此无法创建它的新实例。ImageListStreamerImageListImageStream 属性返回。然而,通过直接从一个 ImageList 中分配 ImageStream 属性,您无法使用此类将图像加载到 ImageList 控件。取而代之的是,您应该直接将一个 ImageList 实例分配给另一个实例(例如,ImageList2 = ImageList1)。

继承层次结构

System.Object
  System.Windows.Forms.ImageListStreamer

线程安全

此类型的任何公共静态(Visual Basic 中的 Shared)成员都是线程安全的,但不保证所有实例成员都是线程安全的。

平台

Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

ImageListStreamer 成员
System.Windows.Forms 命名空间