共用方式為


DocEvents Constructors

Definition

Overloads

DocEvents()

Initializes a new instance of the DocEvents class.

DocEvents(OpenXmlElement[])

Initializes a new instance of the DocEvents class with the specified child elements.

DocEvents(IEnumerable<OpenXmlElement>)

Initializes a new instance of the DocEvents class with the specified child elements.

DocEvents(String)

Initializes a new instance of the DocEvents class from outer XML.

DocEvents()

Initializes a new instance of the DocEvents class.

public DocEvents ();
Public Sub New ()

Applies to

DocEvents(OpenXmlElement[])

Initializes a new instance of the DocEvents class with the specified child elements.

public DocEvents (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office.Word.DocEvents : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office.Word.DocEvents
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DocEvents(IEnumerable<OpenXmlElement>)

Initializes a new instance of the DocEvents class with the specified child elements.

public DocEvents (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office.Word.DocEvents : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office.Word.DocEvents
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DocEvents(String)

Initializes a new instance of the DocEvents class from outer XML.

public DocEvents (string outerXml);
new DocumentFormat.OpenXml.Office.Word.DocEvents : string -> DocumentFormat.OpenXml.Office.Word.DocEvents
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to