ImageList.ImageCollection.IList.Add(Object) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定图像添加到 ImageList 中。
 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
	int IList.Add (object value);
	int IList.Add (object? value);
	abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
	Function Add (value As Object) As Integer Implements IList.Add
	参数
- value
 - Object
 
要添加至列表的图像。
返回
新添加图像的索引;如果未能添加图像,则为 -1。
实现
例外
value 为 null。
value 不是 Bitmap。