ActionMethodListAddMethod Method |
Add an instance of PerformAction delegate associated to the node type.
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public void AddMethod(
Type nodeType,
PerformAction actionToPerform
)
Public Sub AddMethod (
nodeType As Type,
actionToPerform As PerformAction
)
public:
void AddMethod(
Type^ nodeType,
PerformAction^ actionToPerform
)
member AddMethod :
nodeType : Type *
actionToPerform : PerformAction -> unit
Parameters
- nodeType
- Type: SystemType
The node type concerned. - actionToPerform
- Type: OIV.Inventor.ActionsPerformAction
An instance of PerformAction delegate to call when
encountering the nodeType.
Remarks
The delegate is called whenever the action traverses a node which type is
assignable to the nodeType.
The method will be called on derived types unless an instance PerformAction delegate
is specified for the derived type.
See Also