Xceed Words for .NET v5.2 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Comment Class


In This Topic
    Comment Class
    In This Topic
    Represents a comment in a Word document.
    Object Model
    Comment ClassComment ClassParagraph ClassParagraph ClassList ClassParagraph ClassSection ClassSection ClassTable ClassPerson ClassPicture Class
    Syntax
    'Declaration
     
    
    Public Class Comment 
       Inherits Container
    'Usage
     
    
    Dim instance As Comment
    public class Comment : Container 
    Remarks
    Note that Comments need to be attached to a Paragraph or to one or more of its words; they cannot exist otherwise.
    Inheritance Hierarchy

    System.Object
       Xceed.Document.NET.DocumentElement
          Xceed.Document.NET.Container
             Xceed.Document.NET.Comment

    Public Properties
     NameDescription
    Public PropertyGets the collection of Charts in this Container. (Inherited from Xceed.Document.NET.Container)
    Public Property (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets or sets the timestamp that determines when the Comment was added to the Document.  
    Public PropertyGets the collection of Hyperlinks in this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets the unique identifier attributed to the Comment.  
    Public PropertyGets the collection of Lists in this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets or sets the PackagePart for this element. (Inherited from Xceed.Document.NET.DocumentElement)
    Public PropertyGets the collection of Paragraphs in this Container. (Inherited from Xceed.Document.NET.Container)
    Public Property (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets or sets the information that will determine who is the Comment's author.  
    Public PropertyGets the collection of Pictures in this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets a read-only list of reactions associated with the Comment.  
    Public PropertyGets or sets if the Comment is marked as resolved.   
    Public PropertyGets the collection of Sections after reading the xml of this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets the collection of Shapes in this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets the collection of Tables in this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets or sets the Comment's textual content.  
    Public PropertyGets the collection of TextBoxes in this Container. (Inherited from Xceed.Document.NET.Container)
    Public PropertyGets or sets the XML for this element. (Inherited from Xceed.Document.NET.DocumentElement)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds a new reply to the Comment.  
    Public MethodRemoves all the Bookmarks from this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodDeletes the Comment from the Document.  
    Public MethodOverloaded. Retrieves all the indexes in this Container where the provided search value is found. (Inherited from Xceed.Document.NET.Container)
    Public MethodFinds all unique instances of the provided Regex pattern. (Inherited from Xceed.Document.NET.Container)
    Public MethodRetrieves the list of Bookmarks found in this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodReads the xml of the Container to create a list of Sections. (Inherited from Xceed.Document.NET.Container)
    Public MethodInserts the provided text to this Container, at the provided bookmark position, using the specified formatting. (Inherited from Xceed.Document.NET.Container)
    Public MethodInserts a Bookmark to this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodInserts content in this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodInserts an equation to this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodOverloaded. Inserts a List in this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodOverloaded. Inserts a Paragraph at a specific location in this Container, using the provided text, and optionally track this change. (Inherited from Xceed.Document.NET.Container)
    Public MethodOverloaded. Inserts a Section to this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodInserts a section page break to this Container, and optionally track this change. (Inherited from Xceed.Document.NET.Container)
    Public MethodOverloaded. Inserts a Table of a specific size in this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodOverloaded. Adds a "Like" reaction to the Comment.  
    Public MethodRemoves all Reactions associated with the Comment.  
    Public MethodRemoves the specified Bookmark from the Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodRemoves a Paragraph from this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodRemoves the Paragraph found at a specific location in the Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodRemoves all the Text between a startingTag and an endingTag, even when those tags are located in different Paragraphs.   (Inherited from Xceed.Document.NET.Container)
    Public MethodRemoves all text occurences that match the provided format. (Inherited from Xceed.Document.NET.Container)
    Public MethodReplaces the text at the specified Bookmark in this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodTargets a Picture from a specific Paragraph in the Container & replaces it with a new Picture.  (Inherited from Xceed.Document.NET.Container)
    Public MethodOverloaded. Replaces all instances of a string with another string. (Inherited from Xceed.Document.NET.Container)
    Public MethodReplaces all instances of a string with HTML content. (Inherited from Xceed.Document.NET.Container)
    Public MethodReplaces all instances of a string with a DocumentElement. (Inherited from Xceed.Document.NET.Container)
    Public MethodSets the Direction of the content of this Container. (Inherited from Xceed.Document.NET.Container)
    Public MethodCan be used to validate Bookmarks. (Inherited from Xceed.Document.NET.Container)
    Top
    Protected Methods
     NameDescription
    Protected Internal Method (Inherited from Xceed.Document.NET.Container)
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also