ComponentOne SpellChecker for WinForms
AutoReplaceEventArgs Constructor

C1.Win.C1SpellChecker.4 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.
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

Reference

AutoReplaceEventArgs Class
AutoReplaceEventArgs Members