M

BindingMap.ReInsert

Description:
Removes an existing parameter and creates a new binding for a given parameter 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, remove the binding, create a new parameter binding. If the parameter binding related to the input key doesn't exist in the database, ReInsert will fail and false will be returned. In this case, Insert should be called.
Overloads (3):
ReInsert(Definition,Binding,BuiltInParameterGroup)
[ObsoleteAttribute("This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `ReInsert(Definition, Binding, ForgeTypeId)` method instead.")]
public virtual bool ReInsert(
	Definition key,
	Binding item,
	BuiltInParameterGroup parameterGroup
)
Return Value bool