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
public IDictionary<string, object> Defaults { get; }
public:
property IDictionary<String^, Object^>^ Defaults {
virtual IDictionary<String^, Object^>^ get() sealed;
}
abstract Defaults : IDictionary<string, Object> with get
override Defaults : IDictionary<string, Object> with get
Public ReadOnly Property Defaults As IDictionary(Of String, Object)
Property Value
Type: System.Collections.Generic.IDictionary<String, Object>
The default values for route parameters if not provided by the incoming HttpRequestMessage.
Implements
See Also
HttpRoute Class
System.Web.Http.Routing Namespace
Return to top