共用方式為


PartRootEventExtensions.AddPartRootEventsFeature(OpenXmlPartContainer) Method

Definition

Adds a feature to track eventing for package life cycle events.

public static void AddPartRootEventsFeature (this DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer container);
static member AddPartRootEventsFeature : DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer -> unit
<Extension()>
Public Sub AddPartRootEventsFeature (container As OpenXmlPartContainer)

Parameters

container
OpenXmlPartContainer

Container to add the feature to.

Applies to