Share via


Location Class

Definition

Class representing a location in a document.

See the Language Server Protocol specification for additional information.

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

Constructors

Name Description
Location()

Properties

Name Description
Range

Gets or sets the range of the location in the document.

Uri

Gets or sets the URI for the document the location belongs to.

Methods

Name Description
Equals(Location)

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

Equals(Object)
GetHashCode()

Serves as the default hash function.

Applies to