다음을 통해 공유


Tasks Constructors

Definition

Overloads

Tasks()

Initializes a new instance of the Tasks class.

Tasks(OpenXmlElement[])

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

Tasks(IEnumerable<OpenXmlElement>)

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

Tasks(String)

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

Tasks()

Initializes a new instance of the Tasks class.

public Tasks ();
Public Sub New ()

Applies to

Tasks(OpenXmlElement[])

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

public Tasks (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2021.DocumentTasks.Tasks : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2021.DocumentTasks.Tasks
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Tasks(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Tasks(String)

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

public Tasks (string outerXml);
new DocumentFormat.OpenXml.Office2021.DocumentTasks.Tasks : string -> DocumentFormat.OpenXml.Office2021.DocumentTasks.Tasks
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to