ChangedSnapshotSpan(SnapshotSpan, ChangeTypes) Constructor

Definition

Creates a new instance of ChangedSnapshotSpan, associating a span of changed text with a change type.

C#
public ChangedSnapshotSpan(Microsoft.VisualStudio.Text.SnapshotSpan span, Microsoft.VisualStudio.Text.Document.ChangeTypes changeType);

Parameters

span
SnapshotSpan

SnapshotSpan of text that has a change.

changeType
ChangeTypes

A kind of a change.

Applies to

Produkt Verzie
Visual Studio SDK 2022