DocEvents_PivotTableBeforeAllocateChangesEventHandler Délégué
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.
Type Delegate utilisé pour ajouter un handler d’événement pour PivotTableBeforeAllocateChanges l’événement. L’événement PivotTableBeforeAllocateChanges se produit avant que les modifications ne soient appliquées à un tableau croisé dynamique.
public delegate void DocEvents_PivotTableBeforeAllocateChangesEventHandler(PivotTable ^ TargetPivotTable, int ValueChangeStart, int ValueChangeEnd, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void DocEvents_PivotTableBeforeAllocateChangesEventHandler(PivotTable TargetPivotTable, int ValueChangeStart, int ValueChangeEnd, out bool Cancel);
Public Delegate Sub DocEvents_PivotTableBeforeAllocateChangesEventHandler(TargetPivotTable As PivotTable, ValueChangeStart As Integer, ValueChangeEnd As Integer, ByRef Cancel As Boolean)
Paramètres
- TargetPivotTable
- PivotTable
Tableau croisé dynamique qui contient les modifications à appliquer.
- ValueChangeStart
- Int32
Index de la première modification de la PivotTableChangeList collection associée. L’index est spécifié par la Order propriété de ValueChange l’objet dans la PivotTableChangeList collection.
- ValueChangeEnd
- Int32
Index de la dernière modification de la PivotTableChangeList collection associée. L’index est spécifié par la Order propriété de ValueChange l’objet dans la PivotTableChangeList collection.
- Cancel
- Boolean
false lorsque l’événement se produit. Si la procédure événement elle-même définit ce paramètre sur true,les modifications ne sont pas appliquées au tableau croisé dynamique et toutes les modifications sont perdues.
- Attributs