IHttpRoute.Defaults Property

Gets the default values for route parameters if not provided by the incoming HttpRequestMessage.

Namespace:  System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
ReadOnly Property Defaults As IDictionary(Of String, Object)
    Get
'Usage
Dim instance As IHttpRoute
Dim value As IDictionary(Of String, Object)

value = instance.Defaults
IDictionary<string, Object> Defaults { get; }
property IDictionary<String^, Object^>^ Defaults {
    IDictionary<String^, Object^>^ get ();
}
abstract Defaults : IDictionary<string, Object>
function get Defaults () : IDictionary<String, Object>

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>
The default values for route parameters.

See Also

Reference

IHttpRoute Interface

System.Web.Http.Routing Namespace