Many HsvMetadata methods take or return Long IDs that identify dimension members. These member IDs are used by many methods in the other type libraries. For example, several HsvData object methods take member IDs that identify the cells for which data is being get and set.
You get member IDs with various methods of the IHsvTreeInfo interface, which is implemented for all of the dimension-related objects. There are several methods that return member IDs, including the following methods:
GetItemID takes a member’s label and returns the member’s ID.
EnumAllMemberIDs returns an array containing the member IDs of all of a dimension’s members.
EnumAllParentAndChildIDs returns arrays containing the member IDs of a dimension’s parent and child members. The arrays have a one-to-one correspondence that represents a dimension’s parent-child hierarchy.
EnumMembers returns arrays containing the parent and child members of a member list.