| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal cancel As Boolean, _ ByVal result As String _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim cancel As Boolean Dim result As String Dim instance As New TextChangingEventArgs(cancel, result)  | |
Parameters
- cancel
 - A bool value that indicates whether the changing action is canceled.
 - result
 - A string value that indicates the result after the changing action.
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8