[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.BookmarkCollection

BookmarkCollection Class

Represents a collection of Bookmark elements.

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

Properties

Name Description
this[string]

Gets a bookmark from the collection by its name.

Methods

Name Description
Add(string)

Adds a Bookmark into the collection at the Content position.

Contains(string)

Gets whether the collection contains a bookmark with specified name.

Insert(string, RangeLocation)

Inserts a Bookmark into the collection at the specified position.

TryGetValue(string, out Bookmark)

Gets a bookmark from the collection by its name.