RouteValueDictionary Constructor (IDictionary(Of String, Object))
.NET Framework (current version)
Initializes a new instance of the RouteValueDictionary class and adds elements from the specified collection.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | dictionary is null. |
| ArgumentException | dictionary contains one or more duplicate keys. |
Every key in a RouteValueDictionary object must be unique. The RouteValueDictionary class uses case-insensitive ordinal comparison. For more information, see OrdinalIgnoreCase. A key cannot be null.
.NET Framework
Available since 3.5
Available since 3.5
Show: