Partilhar via


IParameterSymbol.HasExplicitDefaultValue Property

Definition

Returns true if the parameter specifies a default value to be passed when no value is provided as an argument to a call. The default value can be obtained with the ExplicitDefaultValue property.

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

Property Value

Applies to