ValueChange.AllocationMethod Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets what method to use to allocate this value when performing what-if analysis.
public:
property Microsoft::Office::Interop::Excel::XlAllocationMethod AllocationMethod { Microsoft::Office::Interop::Excel::XlAllocationMethod get(); };
public Microsoft.Office.Interop.Excel.XlAllocationMethod AllocationMethod { get; }
Public ReadOnly Property AllocationMethod As XlAllocationMethod
Property Value
The method to use to allocate this value when performing what-if analysis.
Remarks
Read-only.
The AllocationMethod property corresponds to the Allocation Method setting in the What-If Analysis Settings dialog box for a PivotTable report based on an OLAP data source as it was set at the time that this change was originally applied. If the specified ValueChange object was created by using the Add(String, Double, Object, Object, Object) method of the PivotTableChangeList collection and the corresponding AllocationMethod
parameter was not supplied, the default allocation method of the OLAP server is returned.