Returns sorted children and the parent item of the specified children.
<HsvTreeInfo>.EnumSortedIDsOfIChildren(lListTopMemberID, lItemID, lSortOptions, pvarChildIDArray)
Argument | Description |
---|---|
lListTopMemberID | Long (ByVal). Pass the HFMConstants type library constant TREE_ROOT to this argument. |
lItemID | Long (ByVal). The member ID of the member for which to return children. |
lSortOptions | 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.” Note: 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. |
pvarChildIDArray | Variant. Returns an array of the children’s member IDs, and the parent itself, 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.