beckhoff — 9.3.7.4 Remove

API 9.3.7.2 Add ITcEnumEvents [ } 150] Add one event to the collection. HRESULT Add([out] ITcEvent* pEvent); Parameter [out] Pointer of an ITcEvent [ } 157] to be added to the collection. Return Value S_OK The method was successfully called Remarks Do not manually add events to the enumerator. Instead use ITcEventLog [ } 129] :: EnumActiveEventsEx [ } 133] or ITcEventLog [ } 129] :: EnumLoggedEventsEx [ } 135] which return a completely constructed enum object.

9.3.7.3 Count ITcEnumEvents [ } 150] This method returns number of events in the collection HRESULT Count([out, retval]long* pVal ); Parameter pVal [out, retval] long pointer to receive the value return Values S_OK Function was successfully called. Remarks Depending on the programming language you are using, you might rather want to use the objects standard enumerator instead of its interface methods. 9.3.7.4 Remove ITcEnumEvents [ } 150] Remove one element from the collection HRESULT Remove([in]int Index ); Parameter Index [in] Index of the Item to be removed TcEventLogger 156 Version: 1.1