Managed Collection. IList. Add(Object) Method
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.
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);
abstract member System.Collections.IList.Add : obj -> int override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add
object to add to the StateManagedCollection.
The position at which the new element was inserted.
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.