StateManagedCollection.IList.Add(Object) StateManagedCollection.IList.Add(Object) StateManagedCollection.IList.Add(Object) Method

Definition

Adds an item to the StateManagedCollection collection.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
Function Add (value As Object) As Integer Implements IList.Add

Parameters

value
Object Object Object

The object to add to the StateManagedCollection.

Returns

The position at which the new element was inserted.

Implements

Exceptions

Remarks

The OnValidate and OnInsert methods are called before the element is added to the collection, and the OnInsertComplete method is called after the element is added.

Applies to

See also