GetLabel

Gets the label of a dimension member. GetLabel is useful when working with methods such as GetDefaultValueID that return member IDs.

Syntax

<IHsvTreeInfo>.GetLabel(lItemID, pbstrLabel)

Argument

Description

lItemID

Long (ByVal). The member ID of the dimension member for which you want to get the label.

pbstrLabel

String. Returns the label of the dimension member identified by the lItemID argument.

Return Value

Integer. Indicates the success of the function call; returns 0 for success or -1 for an error.

Example

GetLabel is used in the Example for GetDefaultValueID.