M

BindingMap.Insert

Description:
Creates a new parameter binding between a parameter and a set of categories in a specified group.
Remarks:
Note the type of the binding object dictates whether the parameter is bound to all instances or just types. A parameter definition cannot be bound to both instances and types. If the Parameter binding already exists, post an error and return false
Overloads (3):
Insert(Definition,Binding,BuiltInParameterGroup)
[ObsoleteAttribute("This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `Insert(Definition, Binding, ForgeTypeId)` method instead.")]
public virtual bool Insert(
	Definition key,
	Binding item,
	BuiltInParameterGroup parameterGroup
)
Return Value bool