Share via


NormalizedSnapshotSpanCollection.CloneAndTrackTo Method

Definition

public:
 Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ CloneAndTrackTo(Microsoft::VisualStudio::Text::ITextSnapshot ^ targetSnapshot, Microsoft::VisualStudio::Text::SpanTrackingMode mode);
public Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection CloneAndTrackTo (Microsoft.VisualStudio.Text.ITextSnapshot targetSnapshot, Microsoft.VisualStudio.Text.SpanTrackingMode mode);
member this.CloneAndTrackTo : Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.SpanTrackingMode -> Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
Public Function CloneAndTrackTo (targetSnapshot As ITextSnapshot, mode As SpanTrackingMode) As NormalizedSnapshotSpanCollection

Parameters

targetSnapshot
ITextSnapshot

Returns

Applies to