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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour