officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-notecollection-dot-removeat-x28-system-dot-int32-x29.md
Removes the note at the specified index of the collection.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
void RemoveAt(
int index
)
Sub RemoveAt(
index As Integer
)
| Name | Type | Description |
|---|---|---|
| index | Int32 |
A zero-based integer specifying the index of the object to remove.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the RemoveAt(Int32) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Notes.cs#L121
//Remove first footnote:
document.Footnotes.RemoveAt(0);
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/NotesActions.cs#L117
//Remove first footnote:
document.Footnotes.RemoveAt(0);
word-document-api-examples/CS/CodeExamples/NotesActions.cs#L152
// Remove the first footnote.
document.Footnotes.RemoveAt(0);
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Notes.vb#L90
'Remove first footnote:
document.Footnotes.RemoveAt(0)
'Remove all custom endnotes:
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/NotesActions.vb#L106
'Remove first footnote:
document.Footnotes.RemoveAt(0)
word-document-api-examples/VB/CodeExamples/NotesActions.vb#L121
' Remove the first footnote.
If document.Footnotes.Count > 0 Then document.Footnotes.RemoveAt(0)
' Remove all custom endnotes.
See Also