getApplier
Short summary
A method to get an applier at the given index.
Return: CNM_ReturnTypes.ExecutionState
- Return type: CNM_CollectionInterfaces.IApplier
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| index | UDINT | - | input |
Code
Declaration
METHOD getApplier : CNM_CollectionInterfaces.IApplier
VAR_INPUT
index :UDINT;
END_VAR
VAR
obj :CNM_AbstractObject.IObject;
END_VAR
Implementation
THIS^.myList.getObjectAt(index := index, object => obj);
__TRY
__QUERYINTERFACE(obj, getApplier);
__CATCH
;
__ENDTRY