IParameterBuilder.DefaultValue Property
DefaultValue
Declaration
TypedConstant? DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
TypedConstant? |
Remarks
Gets or sets the default value of the parameter, or default
if the parameter type is a struct and the default
value of the parameter is the default value of the struct type.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The parameter has no default value. |