Comments 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
Comments() |
Initializes a new instance of the Comments class. |
Comments(OpenXmlElement[]) |
Initializes a new instance of the Comments class with the specified child elements. |
Comments(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Comments class with the specified child elements. |
Comments(String) |
Initializes a new instance of the Comments class from outer XML. |
Comments()
Initializes a new instance of the Comments class.
public Comments ();
Public Sub New ()
Applies to
Comments(OpenXmlElement[])
Initializes a new instance of the Comments class with the specified child elements.
public Comments (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.Comments : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.Comments
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Comments(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Comments class with the specified child elements.
public Comments (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.Comments : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.Comments
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Comments(String)
Initializes a new instance of the Comments class from outer XML.
public Comments (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.Comments : string -> DocumentFormat.OpenXml.Wordprocessing.Comments
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈