Contains Method


The Contains method is used to check if the parameter binding exists for one definition.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public override bool Contains(
	Definition key
)
Visual Basic
Public Overrides Function Contains ( _
	key As Definition _
) As Boolean
Visual C++
public:
virtual bool Contains(
	Definition^ key
) override

Parameters

key
Type: Autodesk.Revit.DB Definition
A parameter definition which can be an existing definition or one from a shared parameters file.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →