StateManagedCollection::IList::Add Method (Object^)
.NET Framework (current version)
Adds an item to the StateManagedCollection collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- value
-
Type:
System::Object^
The object to add to the StateManagedCollection.
Implements
IList::Add(Object^)| Exception | Condition |
|---|---|
| ArgumentNullException | The specified value is null. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: