Range Estrutura
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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 |
| GreaterThan(Range, Range) |
Indica se |
| GreaterThanOrEqual(Range, Range) |
Indica se |
| Inequality(Range, Range) |
Indica se |
| LessThan(Range, Range) |
Indica se |
| LessThanOrEqual(Range, Range) |
Indica se |