Comments Class
Comments. It is the root element of WorksheetCommentsPart.When the object is serialized out as xml, its qualified name is x:comments.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Spreadsheet.Comments
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Authors))> _
<ChildElementInfoAttribute(GetType(CommentList))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class Comments _
Inherits OpenXmlPartRootElement
'Usage
Dim instance As Comments
[ChildElementInfoAttribute(typeof(Authors))]
[ChildElementInfoAttribute(typeof(CommentList))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class Comments : OpenXmlPartRootElement
Remarks
The following table lists the possible child types:
Authors <x:authors>
CommentList <x:commentList>
ExtensionList <x:extLst>
[ISO/IEC 29500-1 1st Edition]
18.7.6 comments (Comments)
This element is the root container of a set of comments and comment authors for a particular sheet. Each set of comments for a sheet is stored in a separate xml part. The relationship part for a sheet defines a link to the correct comment part for that sheet.
Parent Elements |
---|
Root element of SpreadsheetML Comments part |
Child Elements |
Subclause |
---|---|
authors (Authors) |
§18.7.2 |
commentList (List of Comments) |
§18.7.4 |
extLst (Future Feature Data Storage Area) |
§18.2.10 |
[Note: The W3C XML Schema definition of this element’s content model (CT_Comments) is located in §A.2. end note]
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.