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 (2):
Insert(Definition,Binding,ForgeTypeId)
public virtual bool Insert(
	Definition key,
	Binding item,
	ForgeTypeId groupTypeId
)
  • key
    A parameter definition which can be an existing definition or one from a shared parameters file.
  • item
    An InstanceBinding or TypeBinding object which contains the set of categories to which the parameter should be bound.
  • groupTypeId
    The identifier of the parameter definition's parameter group, or empty if the parameter is not to be associated with any predefined group.
Return Value Boolean Boolean