Version 24.2 (latest)

SnapshotLineInfo Structure Methods

For a list of all members of this type, see SnapshotLineInfo members.

Public Methods
 NameDescription
Public MethodContainsReturns true if the token is contained in this line.  
Public MethodEqualsOverloaded. Compares the specified object to this object to see if they are equivalent.  
Public MethodGetCharacterReturns the character at a specific offset in the line.  
Public MethodGetHashCodeReturns the hash code of the object.  
Public MethodGetIndentReturns the line indent.  
Public MethodGetTextReturns the concatenated text from all the Tokens that make up the line  
Public MethodGetTokenAtIndexReturns the token at a specific index.  
Public MethodGetTokenAtOffsetReturns the token that contains a specific character.  
Public MethodIndexOfReturns the zero-based index of a token.  
Public MethodIsSameAsReturns true if the specified SnapshotLineInfo represents the same line content.  
Public MethodToStringReturns a string representation of the object.  
See Also