DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Count for Elements <DataPlugin>

Property: Count for Elements <DataPlugin>

Returns the number of elements in a Elements collection.

Object.Count
ObjectElements <DataPlugin>
Object with this property
Object.CountLongInteger with read access

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
In This Section
Was this information helpful?