共用方式為


OpenXmlElementContext.ElementInserting Event

Definition

Occurs when an element is about to be inserted into the element hierarchy.

public event EventHandler<DocumentFormat.OpenXml.ElementEventArgs> ElementInserting;
public event EventHandler<DocumentFormat.OpenXml.ElementEventArgs>? ElementInserting;
member this.ElementInserting : EventHandler<DocumentFormat.OpenXml.ElementEventArgs> 
Public Event ElementInserting As EventHandler(Of ElementEventArgs) 
Public Custom Event ElementInserting As EventHandler(Of ElementEventArgs) 

Event Type

Applies to