Version

SpanReplaced Property

Returns the span of the text that was replaced or null if no text was replaced (read-only)
Syntax
'Declaration
 
Public ReadOnly Property SpanReplaced As Nullable(Of SnapshotSpan)
public Nullable<SnapshotSpan> SpanReplaced {get;}
Remarks

Note: in the case of a replace operation, the snapshot of SpanFound will reference the snapshot before the change was applied while the snapshot of SpanReplaced will reference the snapshot after the change was applied.

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