Udostępnij za pośrednictwem


ParameterDescriptor.DefaultValue Property

Gets the default value of the parameter.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property DefaultValue As Object
    Get
public virtual Object DefaultValue { get; }
public:
virtual property Object^ DefaultValue {
    Object^ get ();
}

Property Value

Type: System.Object
The default value of the parameter.

Remarks

This property always returns null reference (Nothing in Visual Basic).

See Also

Reference

ParameterDescriptor Class

System.Web.Mvc Namespace