Class BookmarkCollection
Represents a BookmarkCollection.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class BookmarkCollection : IEnumerable<Bookmark>, IEnumerable
Properties
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets this[int].
Declaration
public Bookmark this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Bookmark |
Methods
Add(Bookmark)
Adds the specified item to this collection.
Declaration
public void Add(Bookmark bookmark)
Parameters
| Type | Name | Description |
|---|---|---|
| Bookmark | bookmark | The bookmark to add or process.. |
Clear()
Removes all bookmarks from the document.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Bookmark> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<Bookmark> | The resulting value. |
Remove(Bookmark)
Removes the specified bookmark.
Declaration
public bool Remove(Bookmark bookmark)
Parameters
| Type | Name | Description |
|---|---|---|
| Bookmark | bookmark | The bookmark to remove. |
Returns
| Type | Description |
|---|---|
| bool | true when the bookmark was removed. |