HasParameter Method
Whether the definition stores the parameter.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:  2009

Syntax

C#
public bool HasParameter(
	ElementId paramId
)
Visual Basic
Public Function HasParameter ( _
	paramId As ElementId _
) As Boolean
Visual C++
public:
bool HasParameter(
	ElementId^ paramId
)

Parameters

paramId
Type: Autodesk.Revit.DB..::..ElementId
Id of a parameter.

Return Value

True if the definition stores the parameter, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was NULL

See Also