This documentation is archived and is not being maintained.

CommentList Class

Comment List. It is the root element of SlideCommentsPart.When the object is serialized out as xml, its qualified name is p:cmLst.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class CommentList : OpenXmlPartRootElement

The following table lists the possible child types:

  • Comment <p:cm>

[ISO/IEC 29500-1 1st Edition]

19.4.4 cmLst (Comment List)

This element specifies a list of comments for a particular slide.

[Example: A slide contains two comments, each left by a different author. This example demonstrates that two comments can have the same index if they are created by different authors.

    <p:cm authorId="0" dt="2006-08-28T17:26:44.129" idx="1">
        <p:pos x="10" y="10"/>
        <p:text>Add diagram to clarify.</p:text>
    <p:cm authorId="1" dt="2006-08-28T17:44:19.679" idx="1">
        <p:pos x="1426" y="660"/>
        <p:text>Clean up this text.</p:text>

end example]

Parent Elements

Root element of PresentationML Comments part

Child Elements


cm (Comment)


[Note: The W3C XML Schema definition of this element’s content model (CT_CommentList) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.