EnumMemberLists

Gets the names of the member lists for a dimension.

Syntax

<IHsvTreeInfo>.EnumMemberLists pvarabstrListNames

Argument

Description

pvarabstrListNames

Variant array. Returns the names of the dimension’s member lists. The array is returned as a String subtype.

Example

This example puts the labels of the Period dimension’s member lists into a combo box control. The Dimension property sets an IHsvTreeInfo object reference for the Period dimension, and the member list names returned by EnumMemberLists are placed in a combo box named comboLists.

Dim cIHsvTreeInfo As IHsvTreeInfo, vaLists
Set cIHsvTreeInfo = m_cMetadata.Dimension(DIMENSIONPERIOD)
cIHsvTreeInfo.EnumMemberLists vaLists
For i = LBound(vaLists) To UBound(vaLists)
  comboLists.AddItem vaLists(i)
Next i