Returns arrays that contain the member IDs of a dimension’s parent and child members. The arrays are returned in the method’s arguments; the first argument returns the parent IDs and the second argument returns the child IDs.
The elements in the two arrays have a one-to-one correspondence. For example, the member identified by the parent array’s third element is the parent of the member identified by the child array’s third element.
<IHsvTreeInfo>.EnumAllParentAndChildIDs pvaralParentIDs, pvaralChildIDs
Variant array. Returns the IDs of the parent members. The array is returned as a Long subtype. | |
Variant array. Returns the IDs of the child members. The array is returned as a Long subtype. |
To better understand the relationship between the two arrays, see Understanding the Arguments’ Parent-Child Arrays. This topic describes the EnumAllParentAndChildLabels method, which returns a similar set of arrays, the only difference being that labels are returned instead of IDs.
See the example for EnumAllParentAndChildLabels. The same logic applies to EnumAllParentAndChildIDs; the only difference is that EnumAllParentAndChildLabels returns member labels instead of IDs.