HttpParameterDescriptor.DefaultValue Property


Gets the default value of the parameter.

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


public virtual object DefaultValue { get; }
property Object^ DefaultValue {
    virtual Object^ get();
abstract DefaultValue : Object with get
override DefaultValue : Object with get
Public Overridable ReadOnly Property DefaultValue As Object

Property Value

Type: System.Object

The default value of the parameter.

See Also

HttpParameterDescriptor Class
System.Web.Http.Controllers Namespace

Return to top