Returns an array containing the member IDs of a given member’s parent members.
<IHsvTreeInfo>.EnumParents lItemID, pvaralIDs
Variant array. Returns the array of the parents’ member IDs. The array is returned as a Long subtype. |
The following example prints the labels of the California entity’s parent members to the Immediate window. The example loops through the array returned by EnumParents, passing the member IDs to GetLabel.