Revit 2025.3 API
Binding |
The get_Item method will get the binding item related to the input key.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public override Binding this[ Definition key ] { get; set; }
Public Overrides Property Item ( key As Definition ) As Binding Get Set
public: virtual property Binding^ Item[Definition^ key] { Binding^ get (Definition^ key) override; void set (Definition^ key, Binding^ value) override; }
abstract Item : Binding with get, set override Item : Binding with get, set
Parameters
- key Definition
- A parameter definition which can be an existing definition or one from a shared parameters file.
Property Value
BindingThe returned value of get_Item is an InstanceBinding or TypeBinding object that contains the set of categories to which the parameter is bound. The input item is an InstanceBinding or TypeBinding object which contains the set of categories to which the parameter should be bound.

set_Item is not permitted for this class. A Autodesk::Revit::Exceptions::InvalidOperationException will be thrown.
Instead use Insert, Remove and ReInsert to modify the bindings in the document.
See Also