StateManagedCollection.IList.RemoveAt(Int32) 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 IStateManager element at the specified index.
virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt
Parameters
- index
- Int32
The zero-based index of the item to remove.
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.