語言

ImageList.ImageCollection.IList.Remove(Object) 方法

定義

實 Remove(Object)作 。 在所有情況下都投擲 a NotSupportedException 。

 virtual void System.Collections.IList.Remove(System::Object ^ image) = System::Collections::IList::Remove;
 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove(object image);
void IList.Remove(object? value);
void IList.Remove(object value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (image As Object) Implements IList.Remove
Sub Remove (value As Object) Implements IList.Remove

參數

imagevalue
Object

要加入 ImageList.ImageCollection的物件。

實作

例外狀況

無論哪種情況。

備註

你不能直接更換 ImageList.ImageCollection 職業。 要從 中移除物品 ImageList.ImageCollection,請使用以下 RemoveAt 方法。

適用於