Class NoteCollection
Represents a NoteCollection.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class NoteCollection : IEnumerable<Footnote>, IEnumerable
Properties
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets this[int].
Declaration
public Footnote this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Footnote |
Methods
Add(Footnote)
Adds a footnote or endnote to the collection.
Declaration
public void Add(Footnote note)
Parameters
| Type | Name | Description |
|---|---|---|
| Footnote | note | The note to add. |
Clear()
Removes all notes from the collection.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Footnote> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<Footnote> | The resulting value. |
RemoveAt(int)
Removes the note at the specified zero-based index.
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index to remove. |