Range Estrutura

Definição

Uma struct que descreve um intervalo de texto em um documento.

public value class Range : IComparable<Microsoft::VisualStudio::RpcContracts::Utilities::Range>, IEquatable<Microsoft::VisualStudio::RpcContracts::Utilities::Range>
[System.Runtime.Serialization.DataContract]
public struct Range : IComparable<Microsoft.VisualStudio.RpcContracts.Utilities.Range>, IEquatable<Microsoft.VisualStudio.RpcContracts.Utilities.Range>
[<System.Runtime.Serialization.DataContract>]
type Range = struct
Public Structure Range
Implements IComparable(Of Range), IEquatable(Of Range)
Herança
Range
Atributos
Implementações

Construtores

Range(Int32, Int32, Int32, Int32)

Inicializa uma nova instância do struct Range.

Campos

Unknown

Usado quando o intervalo de um diagnóstico é desconhecido.

Propriedades

EndColumn

Obtém o deslocamento de deslocamento (baseado em 0) a partir do início do EndLine para o final do intervalo.

EndLine

Obtém a linha (baseada em 0) do final da extensão.

StartColumn

Obtém o deslocamento de deslocamento (baseado em 0) a partir do início de StartLine para o início do intervalo.

StartLine

Obtém a linha (baseada em 0) do início do intervalo.

Métodos

CompareTo(Range)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals(Object)
Equals(Range)

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

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

Operadores

Equality(Range, Range)

Indica se left e right equiavlent.

GreaterThan(Range, Range)

Indica se left é maior que right .

GreaterThanOrEqual(Range, Range)

Indica se left é maior ou igual a right .

Inequality(Range, Range)

Indica se left e right diferente.

LessThan(Range, Range)

Indica se left é menor que right .

LessThanOrEqual(Range, Range)

Indica se left é menor ou igual a right .

Aplica-se a