C1.WPF.SpellChecker Namespace / WordList Class / InsertItem Method
The zero-based index at which item should be inserted.
The object to insert. The value can be a null reference (Nothing in Visual Basic) for reference types.

InsertItem Method
Inserts an element into the Collection at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As String _
) 
 

Parameters

index
The zero-based index at which item should be inserted.
item
The object to insert. The value can be a null reference (Nothing in Visual Basic) for reference types.
Exceptions
ExceptionDescription
index is less than zero. -or- index is greater than Count.
Remarks
Duplicate items are automatically discarded; the list will contain at most one copy of any given string.
See Also