RichTextBox for WPF | ComponentOne
C1.WPF.SpellChecker Namespace / CharRangeList Class / Add Method / Add(String,Int32,Boolean) Method
Word to add to the list.
Starting index of the character range within the text.
Whether the range is a duplicate of the previous range in the text.

In This Topic
    Add(String,Int32,Boolean) Method
    In This Topic
    Adds a new CharRange to the list.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Add( _
       ByVal word As String, _
       ByVal start As Integer, _
       ByVal duplicate As Boolean _
    ) 
    public void Add( 
       string word,
       int start,
       bool duplicate
    )

    Parameters

    word
    Word to add to the list.
    start
    Starting index of the character range within the text.
    duplicate
    Whether the range is a duplicate of the previous range in the text.
    See Also