ReflectedHttpParameterDescriptor.DefaultValue Property
Gets the default value for the parameter.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property DefaultValue As Object
Get
'Usage
Dim instance As ReflectedHttpParameterDescriptor
Dim value As Object
value = instance.DefaultValue
public override Object DefaultValue { get; }
public:
virtual property Object^ DefaultValue {
Object^ get () override;
}
abstract DefaultValue : Object
override DefaultValue : Object
override function get DefaultValue () : Object
Property Value
Type: System.Object
The default value for the parameter.