RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Parameter

Parameter.ClearValue

Method
Description:
Clears the parameter to its initial value.
Remarks:
This method will only succeed for Shared parameters that have their HideWhenNoValue property set to true.
Syntax
public bool ClearValue()
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.