StateManagedCollection.IList.Remove(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the first occurrence of the specified object from the StateManagedCollection collection.
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
Parameters
- value
- Object
The object to remove from the StateManagedCollection.
Implements
Exceptions
The StateManagedCollection is read-only.
Remarks
The OnValidate method is called to validate value
before the value is removed from the collection. The OnRemove method is called before the object is removed, and the OnRemoveComplete method is called after the object is removed.
Applies to
See also
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários