IParameterSymbol.HasExplicitDefaultValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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