Class
ExcelStructuralMutationPlan
OfficeIMO.Excel
Validated dry-run plan for a single transactional worksheet mutation.
Inheritance
- object
- ExcelStructuralMutationPlan
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Method ExcelSheet.PlanCopyRange
- Method ExcelSheet.PlanDeleteCells
- Method ExcelSheet.PlanDeleteColumns
- Method ExcelSheet.PlanInsertCells
- Method ExcelSheet.PlanInsertColumns
- Method ExcelSheet.PlanMoveRange
- Method ExcelSheet.PlanTransposeRange
Methods
public ExcelMutationResult Apply(CancellationToken cancellationToken = default) #Commits the plan once, rolling package roots back if the operation throws.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Returns
ExcelMutationResultInherited Methods
Properties
public ExcelStructuralMutationKind Kind { get; } #Planned operation.
public string? Destination { get; } #Destination top-left cell, when applicable.
public int AffectedCells { get; } #Bounded estimate of cells affected by the operation.
public IReadOnlyList<ExcelMutationImpact> Impacts { get; } #Dry-run impact categories.
public bool IsApplied { get; } #Whether the plan has committed successfully.
public ExcelMutationResult? Result { get; private set; } #Result after a successful commit.