ComponentOne SpellChecker for WinForms
C1.Win.C1SpellChecker.4.5.2 Assembly / C1.Win.C1SpellChecker Namespace / AutoReplaceEventArgs Class / AutoReplaceEventArgs Constructor
Control where the text is being replaced.
String that contains the text about to be replaced.
String that contains the replacement text.
Position of the found string in the control's text.

In This Topic
    AutoReplaceEventArgs Constructor
    In This Topic
    Initializes a new instance of an AutoReplaceEventArgs.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal control As System.Windows.Forms.Control, _
       ByVal found As System.String, _
       ByVal replace As System.String, _
       ByVal index As System.Integer _
    )
    public AutoReplaceEventArgs( 
       System.Windows.Forms.Control control,
       System.string found,
       System.string replace,
       System.int index
    )

    Parameters

    control
    Control where the text is being replaced.
    found
    String that contains the text about to be replaced.
    replace
    String that contains the replacement text.
    index
    Position of the found string in the control's text.
    See Also