Parameter.ClearValue
Method
Description:
Clears the parameter to its initial value.
Clears the parameter to its initial value.
Remarks:
This method will only succeed for Shared parameters that have their HideWhenNoValue property set to true.
This method will only succeed for Shared parameters that have their HideWhenNoValue property set to true.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The parameter is read-only, or the parameter is not a shared parameter, or the shared parameter has HideWhenNoValue set to false. |