IList.SetElementAt (METH) ¶ METHOD SetElementAt : COLLECTION_ERROR Sets the element itfElement at the position udiPosition. Existing elements will be replaced. InOut: Scope Name Type Comment Return SetElementAt COLLECTION_ERROR Input udiPosition UDINT Set position itfElement IElement The element to set at udiPosition
IList3.SafeElementIterator (METH) ¶ METHOD SafeElementIterator : COLLECTION_ERROR Returns an thread safe iterator over all elements. InOut: Scope Name Type Return SafeElementIterator COLLECTION_ERROR Input itfIterator ISafeListIterator
IMap.AddKeyValuePair (METH) ¶ METHOD AddKeyValuePair : COLLECTION_ERROR Add a key value pair to the map. InOut: Scope Name Type Comment Return AddKeyValuePair COLLECTION_ERROR Input itfKey IElement The key itfValue IElement The value
IMap.ContainsKey (METH) ¶ METHOD ContainsKey : COLLECTION_ERROR Check if the map contains the key itfKey. InOut: Scope Name Type Comment Return ContainsKey COLLECTION_ERROR Input itfKey IElement The key to check Output xResult BOOL True if the map contains itfKey
IMap.CountKeys (METH) ¶ METHOD CountKeys : UDINT Returns the number of entries of the map. InOut: Scope Name Type Return CountKeys UDINT
IMap.GetElementByKey (METH) ¶ METHOD GetElementByKey : COLLECTION_ERROR Get the value itfValue of the key itfKey. InOut: Scope Name Type Comment Return GetElementByKey COLLECTION_ERROR Input itfKey IElement The key Output itfValue IElement The corresponding value of the key.
IMap.Keys (METH) ¶ METHOD Keys : COLLECTION_ERROR Returns an iterator over all keys. InOut: Scope Name Type Return Keys COLLECTION_ERROR Input itfIterator IIterator
IMap.RemoveByKey (METH) ¶ METHOD RemoveByKey : COLLECTION_ERROR Removes the key-value pair with the key itfKey from the map. InOut: Scope Name Type Comment Return RemoveByKey COLLECTION_ERROR Input itfKey IElement The key to remove.
IMap.Values (METH) ¶ METHOD Values : COLLECTION_ERROR Returns an iterator over all values. InOut: Scope Name Type Return Values COLLECTION_ERROR Input itfIterator IIterator
IMap2.RemoveAllElements (METH) ¶ METHOD RemoveAllElements : COLLECTION_ERROR Remove all keys and values. InOut: Scope Name Type Return RemoveAllElements COLLECTION_ERROR