Bewerken

Share via


ParameterInfo.HasDefaultValue Property

Definition

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

public:
 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