HttpRoute.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
Public ReadOnly Property Defaults As IDictionary(Of String, Object)
Get
'Usage
Dim instance As HttpRoute
Dim value As IDictionary(Of String, Object)
value = instance.Defaults
public IDictionary<string, Object> Defaults { get; }
public:
virtual property IDictionary<String^, Object^>^ Defaults {
IDictionary<String^, Object^>^ get () sealed;
}
abstract Defaults : IDictionary<string, Object>
override Defaults : IDictionary<string, Object>
final function get Defaults () : IDictionary<String, Object>
Property Value
Type: System.Collections.Generic.IDictionary<String, Object>
The default values for route parameters if not provided by the incoming HttpRequestMessage.