ChangedSnapshotSpan(SnapshotSpan, ChangeTypes) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of ChangedSnapshotSpan, associating a span of changed text with a change type.
public ChangedSnapshotSpan (Microsoft.VisualStudio.Text.SnapshotSpan span, Microsoft.VisualStudio.Text.Document.ChangeTypes changeType);
new Microsoft.VisualStudio.Text.Document.ChangedSnapshotSpan : Microsoft.VisualStudio.Text.SnapshotSpan * Microsoft.VisualStudio.Text.Document.ChangeTypes -> Microsoft.VisualStudio.Text.Document.ChangedSnapshotSpan
Public Sub New (span As SnapshotSpan, changeType As ChangeTypes)
Parameters
- span
- SnapshotSpan
SnapshotSpan of text that has a change.
- changeType
- ChangeTypes
A kind of a change.