Compartir a través de


SnapshotSpan Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of a SnapshotSpan.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SnapshotSpan(ITextSnapshot, Span) Initializes a new instance of a SnapshotSpan with the specified snapshot and span.
Public method SnapshotSpan(SnapshotPoint, SnapshotPoint) Initializes a new instance of a SnapshotSpan from two SnapshotPoint objects.
Public method SnapshotSpan(SnapshotPoint, Int32) Initializes a new instance of a SnapshotSpan from an existing SnapshotPoint and a specified length.
Public method SnapshotSpan(ITextSnapshot, Int32, Int32) Initializes a new instance of a SnapshotSpan with the specified snapshot, start point, and length.

Top

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace