Share via


DimensionAttributeValueSetStorage.addItemValues Method [AX 2012]

Adds the specified values to the set.

Syntax

public int addItemValues(
    RecId _dimensionAttributeId, 
    RecId _dimensionAttributeValueId, 
    HashKey _dimensionAttributeValueHashKey)

Run On

Called

Parameters

Return Value

Type: int
The index of the value in the set.

Remarks

If the DimensionAttribute value that is associated with the value that is already in the set, that index will be updated to point to the new value and the same index will be returned. If the DimensionAttribute value is not in the set yet, it will be added to the end and the index of the new value will be returned.

See Also

Reference

DimensionAttributeValueSetStorage Class