Parses a dimension value into its label and type. The method also returns the dimension value’s top member, parent, or parameter, depending upon whether the dimension value a member list, member label, or function.
parseValue also indicates whether the syntax of the specified dimension value is valid. You should always check the return value. If a dimension value does not consist of valid syntax, the information returned in the output parameters may not be valid, since valid syntax is required for accurate parsing.
<HFMwMbrSel>.parseValue (bstrValue, pvarbstrMajor, pvarbstrMinor, pvarlEnumType)
Returns one of the following values:
| |
Indicates the type of dimension value passed to the bstrValue parameter. Valid values are represented by the HFMConstants type library constants listed in Dimension Value Type Constants. |
Indicates whether the bstrValue parameter contains a valid value. Returns TRUE if the value is valid, FALSE otherwise.
The following snippet returns the member list label [Hierarchy], the top member Quarter1, and the dimension value type of member list.