SnapshotSpan Constructor

 

Initializes a new instance of a SnapshotSpan.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

NameDescription
System_CAPS_pubmethodSnapshotSpan(ITextSnapshot^, Int32, Int32)

Initializes a new instance of a SnapshotSpan with the specified snapshot, start point, and length.

System_CAPS_pubmethodSnapshotSpan(ITextSnapshot^, Span)

Initializes a new instance of a SnapshotSpan with the specified snapshot and span.

System_CAPS_pubmethodSnapshotSpan(SnapshotPoint, Int32)

Initializes a new instance of a SnapshotSpan from an existing SnapshotPoint and a specified length.

System_CAPS_pubmethodSnapshotSpan(SnapshotPoint, SnapshotPoint)

Initializes a new instance of a SnapshotSpan from two SnapshotPoint objects.

Return to top
Show: