Version

GetChange Method

Gets the TextChangeInfo which describes how the text has changed
Syntax
'Declaration
 
Public Shared Function GetChange( _
   ByVal newText As String, _
   ByVal oldText As String _
) As TextChangeInfo
public static TextChangeInfo GetChange( 
   string newText,
   string oldText
)

Parameters

newText
The new text after the change
oldText
The old text before the change

Return Value

A TextChangeInfo instance describing the changes that have occurred between the two strings.
Exceptions
ExceptionDescription
System.ArgumentNullException Either of the strings passed is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also