Langue

PivotTable.AllocationMethod Propriété

Définition

Obtient ou définit la méthode à utiliser pour allouer des valeurs lors de l’exécution d’une analyse de scénario sur un rapport de tableau croisé dynamique basé sur une source de données OLAP.

public:
 property Microsoft::Office::Interop::Excel::XlAllocationMethod AllocationMethod { Microsoft::Office::Interop::Excel::XlAllocationMethod get(); void set(Microsoft::Office::Interop::Excel::XlAllocationMethod value); };
public Microsoft.Office.Interop.Excel.XlAllocationMethod AllocationMethod { get; set; }
Public Property AllocationMethod As XlAllocationMethod

Valeur de propriété

Un XlAllocationMethod objet.

Remarques

Lecture-écriture.

La AllocationMethod propriété correspond au paramètre Méthode d’allocation de la boîte de dialogue Paramètres d’analyse What-If. Le paramètre par défaut est xlEqualAllocation, qui correspond au paramètre Allocation égale. Si la AllocationMethod propriété est définie sur xlWeightedAllocation, ce qui correspond au paramètre d’allocation pondérée, vous pouvez éventuellement spécifier l’expression de pondération à utiliser en définissant la AllocationWeightExpression propriété. Si vous ne spécifiez pas d’expression de pondération, une expression de pondération équivalente à la valeur> de <la cellule feuille/<valeur existante> est utilisée.

S’applique à