ParameterInfo.HasDefaultValue Property


Gets a value that indicates whether this parameter has a default value.

 virtual property bool HasDefaultValue { bool get(); };
public virtual bool HasDefaultValue { get; }
member this.HasDefaultValue : bool
Public Overridable ReadOnly Property HasDefaultValue As Boolean

Property Value

true if this parameter has a default value; otherwise, false.

Applies to