Share via


OptionalVersionedTextDocumentIdentifier Class

Definition

Class which represents a text document, but optionally has a version identifier.

See the Language Server Protocol specification for additional information.

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

Constructors

OptionalVersionedTextDocumentIdentifier()

Properties

Uri

Gets or sets the URI of the text document.

(Inherited from TextDocumentIdentifier)
Version

Gets or sets the version of the document.

Methods

Equals(Object)
Equals(OptionalVersionedTextDocumentIdentifier)

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

Equals(TextDocumentIdentifier) (Inherited from TextDocumentIdentifier)
GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

Equality(OptionalVersionedTextDocumentIdentifier, OptionalVersionedTextDocumentIdentifier)
Inequality(OptionalVersionedTextDocumentIdentifier, OptionalVersionedTextDocumentIdentifier)

Applies to