Class PageRouteValues
Dictionary containing route values of parametrized pages.
public sealed class PageRouteValues
- Inheritance
-
objectPageRouteValues
- Extension Methods
Methods
Add(string, string)
Adds the specified key and value into the collection.
public void Add(string key, string value)
Parameters
key
stringvalue
string
Exceptions
- ArgumentException
Throws when
key
is already contained within the route values.
TryGet(string, out string)
Gets the value associated with the key
.
public bool TryGet(string key, out string value)
Parameters
key
stringvalue
string
Returns
- bool