PivotTable.AllocationMethod Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.