Returns the string representation of this object. Syntax
Instantiates a new TextLocation Syntax Parameters line The zero-based line offset within the document.character The zero-based character offset within the line. Exceptions Exception Description System.ArgumentOutOfRangeException If line or character is less than 0.
Structure containing an offset and length that identify a run of text within a document Syntax
For a list of all members of this type, see TextSpan members. Public Fields Name Description All Returns a span that represents all the text. Top
Public Constructors Public Fields Public Properties Public Methods Public Operators
Public Methods
Public Properties
Returns a span that represents all the text. Syntax
Determines if a offset is contained within this span. Syntax Parameters offset The offset to test. Return Value true is the offset is contained within this span, otherwise false.
Determines if a span is completely contained within this span. Syntax Parameters span The span to test. Return Value true is the span is completely contained within this span, otherwise false.