StateManagedCollection.IList.Remove(Object) 方法

定義

StateManagedCollection 集合中移除指定物件的第一個符合項目。

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

參數

value
Object

要從 StateManagedCollection 移除的物件。

實作

例外狀況

備註

在從集合中移除值之前,會 OnValidate 呼叫 方法來驗證 value 。 方法 OnRemove 會在移除物件之前呼叫,並在 OnRemoveComplete 移除物件之後呼叫 方法。

適用於

另請參閱