[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CommentCollection

CommentCollection Class

Represents a collection of Comment elements.

Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class CommentCollection : ContentRangeCollection<Comment>, IContentList<Comment>, IReadOnlyList<Comment>, IReadOnlyCollection<Comment>, IEnumerable<Comment>, IEnumerable
Public Class CommentCollection
    Inherits ContentRangeCollection(Of Comment)
    Implements IContentList(Of Comment), IReadOnlyList(Of Comment), IReadOnlyCollection(Of Comment), IEnumerable(Of Comment), IEnumerable

Methods

Name Description
Add(string, string)

Adds a Comment to this collection at the Content position.

Add(string, string, DateTime)

Adds a Comment to this collection.

Add(string, string, DateTime, string)

Adds a Comment to this collection.

Contains(long)

Checks whether this collection contains a comment with the specified ID.

GetByID(long)

Gets a comment from this collection by its ID.

Insert(RangeLocation)

Inserts a Comment into this collection at the specified location.

Insert(string, string, RangeLocation)

Inserts a Comment into this collection at the specified location.

Insert(string, string, DateTime, RangeLocation)

Inserts a Comment into this collection at the specified location.

Insert(string, string, DateTime, string, RangeLocation)

Inserts a Comment into this collection at the specified location.