IParameterSymbol.ExplicitDefaultValue 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 the default value of the parameter.
public:
property System::Object ^ ExplicitDefaultValue { System::Object ^ get(); };
public object ExplicitDefaultValue { get; }
public object? ExplicitDefaultValue { get; }
member this.ExplicitDefaultValue : obj
Public ReadOnly Property ExplicitDefaultValue As Object
Property Value
Exceptions
The parameter has no default value.
Remarks
Returns null if the parameter type is a struct and the default value of the parameter is the default value of the struct type.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.