Share via


Range Class

Definition

Class which represents a text document text range.

See the Language Server Protocol specification for additional information.

public ref class Range : IEquatable<Microsoft::VisualStudio::LanguageServer::Protocol::Range ^>
[System.Runtime.Serialization.DataContract]
public class Range : IEquatable<Microsoft.VisualStudio.LanguageServer.Protocol.Range>
[<System.Runtime.Serialization.DataContract>]
type Range = class
    interface IEquatable<Range>
Public Class Range
Implements IEquatable(Of Range)
Inheritance
Range
Attributes
Implements

Constructors

Range()

Properties

End

Gets or sets the text end position.

Start

Gets or sets the text start position.

Methods

Equals(Object)
Equals(Range)

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

GetHashCode()

Serves as the default hash function.

Operators

Equality(Range, Range)
Inequality(Range, Range)

Applies to