Back to Devexpress

NoteCollection.RemoveAt(Int32) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-notecollection-dot-removeat-x28-system-dot-int32-x29.md

latest3.7 KB
Original Source

NoteCollection.RemoveAt(Int32) Method

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

Declaration

csharp
void RemoveAt(
    int index
)
vb
Sub RemoveAt(
    index As Integer
)

Parameters

NameTypeDescription
indexInt32

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

csharp
//Remove first footnote:
document.Footnotes.RemoveAt(0);

wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/NotesActions.cs#L117

csharp
//Remove first footnote:
document.Footnotes.RemoveAt(0);

word-document-api-examples/CS/CodeExamples/NotesActions.cs#L152

csharp
// Remove the first footnote.
document.Footnotes.RemoveAt(0);

winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Notes.vb#L90

vb
'Remove first footnote:
document.Footnotes.RemoveAt(0)
'Remove all custom endnotes:

wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/NotesActions.vb#L106

vb
'Remove first footnote:
document.Footnotes.RemoveAt(0)

word-document-api-examples/VB/CodeExamples/NotesActions.vb#L121

vb
' Remove the first footnote.
If document.Footnotes.Count > 0 Then document.Footnotes.RemoveAt(0)
' Remove all custom endnotes.

See Also

NoteCollection Interface

NoteCollection Members

DevExpress.XtraRichEdit.API.Native Namespace