ActionMethodListAddMethod Method |
Add an instance of PerformAction delegate associated to the node type.
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.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