Returns an array containing the member IDs an Intercompany Partner dimension member’s children, with the members sorted according to the specified sorting criteria.
For dimensions other than Intercompany Partner, EnumSortedIDsOfChildren behaves like EnumIDsOfChildren in that it returns children but does not sort them. |
<IHsvTreeInfo>.EnumSortedIDsOfChildren(lListTopMemberID, lItemID, lSortOptions, pvarChildIDArray)
Long (ByVal). Pass the HFMConstants type library constant TREE_ROOT to this argument. | |
Long (ByVal). The member ID of the member for which to return children. | |
Long (ByVal). The member information by which to sort. You can pass any combination of the HFMConstants type library constants that are listed in Metadata Information Constants and that include the word “SORT.” By default, EnumSortedMembers sorts in ascending order, so there in no constant for ascending order. You can specify multiple sorting options by using the Or operator with these constants. | |
Variant. Returns an array of the children’s member IDs, with the array sorted as specified by the lSortOptions argument. |
Integer. Indicates whether the call succeeded. Returns 0 upon success, or a non-zero error number upon failure.