Method: Item for Elements <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: Item for Elements <DataPlugin>
Method: Item for Elements <DataPlugin>
Returns the Element object of a specific index.
Set oElement = Object.Item(iIndex)
| Object | Elements <DataPlugin> Object with this method |
| iIndex | LongInteger Specifies the index of the respective object. |
| oElement | Element <DataPlugin> Returned object |
The following example checks all the elements that are associated with the Store object. If an element is type ChannelGroup, the example creates a Root property containing the name of the element.
For j = 1 to FromStore.Children.Count If StoreElement.IsKindOf(eStoreChannelGroup) Then Call Root.Properties.Add("Composite"& right("0"&j,2), FromStore.Children.Item(j).Name) End If Next