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.
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.
Indicates whether the span intersects with the specified span. Overload List
Returns true if the length of the span is 0 (read-only). Syntax
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
Returns the zero-based offset from the beginning of the TextDocumentSnapshot (read-only). Syntax
Compares the values of two SnapshotSpan structures for equality Syntax Parameters span1 The first structurespan2 The other structure Return Value true if the two instances are equal; otherwise false
Implicitly converts the SnapshotSpan to a TextSpan. Syntax Parameters span The SnapshotSpan Return Value The TextSpan
Compares the values of two SnapshotSpan structures for inequality Syntax Parameters span1 The first structurespan2 The other structure Return Value true if the two instances are not equal; otherwise false
Returns a span that contains just the overlap between this span and another. Syntax Parameters span The span to overlap. Return Value A new SnapshotSpan with the overlap or null if the spans dont overlap.