The following tables list the members exposed by SnapshotLineInfo.
| Name | Description | |
|---|---|---|
![]() | Length | Returns the length of all the text in the line including carriage return and line feed characters. (read-only). |
![]() | LineIndex | Returns the zero-based index of the line (read-only). |
![]() | LineNumber | Returns the 1-based line number (read-only). |
![]() | OverallOffset | Returns the zero-based offset of this line from the beginning of the document (read-only). |
![]() | Snapshot | Returns the associated TextDocumentSnapshot (read-only). |
![]() | TextLength | Returns the length of all the text in the line excluding carriage return and line feed characters. (read-only). |
![]() | TokenCount | Returns the total number of tokens in the line including the line terminator token (read-only). |
| Name | Description | |
|---|---|---|
![]() | Contains | Returns true if the token is contained in this line. |
![]() | Equals | Overloaded. Compares the specified object to this object to see if they are equivalent. |
![]() | GetCharacter | Returns the character at a specific offset in the line. |
![]() | GetHashCode | Returns the hash code of the object. |
![]() | GetIndent | Returns the line indent. |
![]() | GetText | Returns the concatenated text from all the Tokens that make up the line |
![]() | GetTokenAtIndex | Returns the token at a specific index. |
![]() | GetTokenAtOffset | Returns the token that contains a specific character. |
![]() | IndexOf | Returns the zero-based index of a token. |
![]() | IsSameAs | Returns true if the specified SnapshotLineInfo represents the same line content. |
![]() | ToString | Returns a string representation of the object. |
Equality | Compares the values of two SnapshotLineInfo structures for equality |
Inequality | Compares the values of two SnapshotLineInfo structures for inequality |