Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified item to the collection.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub Add ( _
item As KeyValuePair(Of String, Object) _
)
public void Add(
KeyValuePair<string, Object> item
)
public:
virtual void Add(
KeyValuePair<String^, Object^> item
) sealed
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<String, Object>
The object to add to the collection.
Implements
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The collection is read-only. |