Create a new method of an object
Create a new method for an object to be performed at runtime. Create a new method for a Runtime Netlogix that you add to
Project view
.- InProject view, select the object node.
- SelectAddnewand then selectRuntime Netlogic.RuntimeNetLogix#appears inProjectview.
- Right-clickRuntimeand selectNetLogicNew>opens in the editor with added code:Method. NetLogic[ExportMethod] public void MethodName() { // insert code to be executed by method }
- (Optional) Rename the method in C#.
Provide Feedback