다음을 통해 공유


TaskAnchor Constructors

Definition

Overloads

TaskAnchor()

Initializes a new instance of the TaskAnchor class.

TaskAnchor(OpenXmlElement[])

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

TaskAnchor(IEnumerable<OpenXmlElement>)

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

TaskAnchor(String)

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

TaskAnchor()

Initializes a new instance of the TaskAnchor class.

public TaskAnchor ();
Public Sub New ()

Applies to

TaskAnchor(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

TaskAnchor(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

TaskAnchor(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to