TextLocation Structure

Définition

Décrit un emplacement dans un fichier texte.

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)
Héritage
TextLocation
Attributs
Implémente

Constructeurs

TextLocation(Int32, Int32)

Initialise une nouvelle instance du struct TextLocation.

Propriétés

Column

Obtient la colonne dans le fichier texte. La première colonne d’une ligne est considérée comme colonne 1.

Line

Obtient le numéro de ligne dans le fichier texte. La première ligne d’un fichier est considérée comme la ligne 1.

Méthodes

Equals(Object)
Equals(TextLocation)

Indicates whether the current object is equal to another object of the same type.

GetHashCode() System.IEquatable`1.GetHashCode
ToString() System.IEquatable`1.ToString

Opérateurs

Equality(TextLocation, TextLocation)

Détermine si deux TextLocation sont égaux.

Inequality(TextLocation, TextLocation)

Détermine si deux ne TextLocation sont pas égales.

S’applique à