SnapshotSpan Methods

 

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

NameDescription
System_CAPS_pubmethodContains(Int32)

Determines whether the position lies within the span.

System_CAPS_pubmethodContains(SnapshotPoint)

Determines whether the specified SnapshotPoint lies within the span.

System_CAPS_pubmethodContains(SnapshotSpan)

Determines whether the snapshot span falls completely within this span.

System_CAPS_pubmethodContains(Span)

Determines whether the specified span falls completely within this span.

System_CAPS_pubmethodEquals(Object^)

Determines whether two snapshot spans are the same.(Overrides ValueType::Equals(Object^).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for this type.(Overrides ValueType::GetHashCode().)

System_CAPS_pubmethodGetText()

The text contained by this snapshot span.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIntersection(SnapshotSpan)

Calculates the intersection with the given SnapshotSpan.

System_CAPS_pubmethodIntersection(Span)

Calculates the intersection with the given span.

System_CAPS_pubmethodIntersectsWith(SnapshotSpan)

Determines whether the specified snapshot span intersects this span.

System_CAPS_pubmethodIntersectsWith(Span)

Determines whether the specified span intersects this span.

System_CAPS_pubmethodOverlap(SnapshotSpan)

Gets the overlap with the given SnapshotSpan.

System_CAPS_pubmethodOverlap(Span)

Getss the overlap with the given span.

System_CAPS_pubmethodOverlapsWith(SnapshotSpan)

Determines whether another span overlaps this span.

System_CAPS_pubmethodOverlapsWith(Span)

Determines whether simpleSpan overlaps this span.

System_CAPS_pubmethodToString()

Converts this snapshot span to a string.(Overrides ValueType::ToString().)

System_CAPS_pubmethodTranslateTo(ITextSnapshot^, SpanTrackingMode)

Translates this snapshot span to a different snapshot of the same ITextBuffer.

Return to top
Show: