Open sandboxFocus

Property DefaultValue

DefaultValue

Declaration
TypedConstant? DefaultValue { get; }
Property Value
Type Description
TypedConstant?
Remarks

Gets 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.