Share via


Span.Contains Method

Include Protected Members
Include Inherited Members

Determines whether a span falls completely within this 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(Span) Determines whether the specified span falls completely within this span.

Top

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace