Version

Search Results

Contains Method (TextSpan)

Determines if a span is completely contained within this span. Overload List

End Property (TextSpan)

Returns the normalized end offset (read-only). Syntax

Equals(Object) Method

Compares the specified object to this object to see if they are equivalent. Syntax Parameters obj The object to compare Return Value True if the objects are equal; otherwise false

Equals(TextSpan) Method

Determines if a structure is equatable to this one. Syntax Parameters other The other structure Return Value Returns true if the structures are equatable, otherwise false

Equals Method (TextSpan)

Determines if a structure is equatable to this one. Overload List

GetHashCode Method (TextSpan)

Returns the hash code of the structure. Syntax Return Value A hash code for this instance

Intersection Method (TextSpan)

Returns a span that contains just the intersect between this span and another. Syntax Parameters span The span to intersect. Return Value A new TextSpan with the intersect or null if the spans dont intersect.

IntersectsWith Method (TextSpan)

Indicates whether the span intersects with the specified span. Syntax Parameters span The span to test. Return Value True if the spans intersect; otherwise False.

Length Property (TextSpan)

Returns the length of the text span (read-only). Syntax Remarks Note: if the length is negative that means the Start of the span is before the Offset

Offset Property (TextSpan)

Returns the zero-based offset from the beginning of the document (read-only). Syntax