Visual Basic (Declaration) | |
---|---|
Overloads Function ChangeText( _ ByVal currText As String, _ ByVal selStart As Integer, _ ByVal selLength As Integer, _ ByVal insertText As String, _ ByRef resultText As String, _ ByRef resultCaretPos As Integer, _ ByVal validateChanges As Boolean _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IManageFmtInput Dim currText As String Dim selStart As Integer Dim selLength As Integer Dim insertText As String Dim resultText As String Dim resultCaretPos As Integer Dim validateChanges As Boolean Dim value As Boolean value = instance.ChangeText(currText, selStart, selLength, insertText, resultText, resultCaretPos, validateChanges) |
C# | |
---|---|
bool ChangeText( string currText, int selStart, int selLength, string insertText, out string resultText, out int resultCaretPos, bool validateChanges ) |
Parameters
- currText
- selStart
- selLength
- insertText
- resultText
- resultCaretPos
- validateChanges
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2