Body Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Body() |
Initializes a new instance of the Body class. |
Body(OpenXmlElement[]) |
Initializes a new instance of the Body class with the specified child elements. |
Body(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Body class with the specified child elements. |
Body(String) |
Initializes a new instance of the Body class from outer XML. |
Body()
Initializes a new instance of the Body class.
public Body ();
Public Sub New ()
Applies to
Body(OpenXmlElement[])
Initializes a new instance of the Body class with the specified child elements.
public Body (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.Body : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.Body
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Body(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Body class with the specified child elements.
public Body (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.Body : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.Body
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Body(String)
Initializes a new instance of the Body class from outer XML.
public Body (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.Body : string -> DocumentFormat.OpenXml.Wordprocessing.Body
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應