TextLocation Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a location in a text file.
public value class TextLocation : IEquatable<Microsoft::VisualStudio::Workspace::Indexing::TextLocation>
[System.Diagnostics.DebuggerDisplay("{Line}, {Column}")]
public struct TextLocation : IEquatable<Microsoft.VisualStudio.Workspace.Indexing.TextLocation>
[<System.Diagnostics.DebuggerDisplay("{Line}, {Column}")>]
type TextLocation = struct
Public Structure TextLocation
Implements IEquatable(Of TextLocation)
- Inheritance
-
TextLocation
- Attributes
- Implements
Constructors
TextLocation(Int32, Int32) |
Initializes a new instance of the TextLocation struct. |
Properties
Column |
Gets the column within the text file. The first column on a line is considered column 1. |
Line |
Gets the line number within the text file. The first line of a file is considered Line 1. |
Methods
Equals(Object) | Indicates whether this instance and a specified object are equal. |
Equals(TextLocation) | Indicates whether the current object is equal to another object of the same type. |
GetHashCode() | Returns the hash code for this instance. |
ToString() | Returns the fully qualified type name of this instance. |
Operators
Equality(TextLocation, TextLocation) |
Determines whether two TextLocation are equal. |
Inequality(TextLocation, TextLocation) |
Determines whether two TextLocation are not equal. |