次の方法で共有


ChangedSnapshotSpan(SnapshotSpan, ChangeTypes) Constructor

Definition

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.

Applies to