ISnapshotDifference::MapToSnapshot Method (Difference^, ITextSnapshot^)

 

Gets the extent of the difference in the specified snapshot.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

SnapshotSpan MapToSnapshot(
	Difference^ difference,
	ITextSnapshot^ target
)

Parameters

difference
Type: Microsoft.VisualStudio.Text.Differencing::Difference^

The difference.

target
Type: Microsoft.VisualStudio.Text::ITextSnapshot^

The target.

Return Value

Type: Microsoft.VisualStudio.Text::SnapshotSpan

A snapshot span that gives the extent of the difference.

Return to top
Show: