Partilhar via


SnapshotSpan.Contains Method

Include Protected Members
Include Inherited Members

Determines whether a point or span lies within the span.

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 Contains(Int32) Determines whether the position lies within the span.
Public method Contains(SnapshotPoint) Determines whether the specified SnapshotPoint lies within the span.
Public method Contains(SnapshotSpan) Determines whether the snapshot span falls completely within this span.
Public method Contains(Span) Determines whether the specified span falls completely within this span.

Top

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace