共用方式為


ServerCapabilities.DefinitionProvider Property

Definition

Gets or sets a value indicating whether go to definition is supported.

public:
 property bool DefinitionProvider { bool get(); void set(bool value); };
public:
 property Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<bool, Microsoft::VisualStudio::LanguageServer::Protocol::DefinitionOptions ^>> DefinitionProvider { Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<bool, Microsoft::VisualStudio::LanguageServer::Protocol::DefinitionOptions ^>> get(); void set(Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<bool, Microsoft::VisualStudio::LanguageServer::Protocol::DefinitionOptions ^>> value); };
[System.Runtime.Serialization.DataMember(Name="definitionProvider")]
public bool DefinitionProvider { get; set; }
[System.Runtime.Serialization.DataMember(Name="definitionProvider")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.VisualStudio.LanguageServer.Protocol.SumType<bool,Microsoft.VisualStudio.LanguageServer.Protocol.DefinitionOptions>? DefinitionProvider { get; set; }
[<System.Runtime.Serialization.DataMember(Name="definitionProvider")>]
member this.DefinitionProvider : bool with get, set
[<System.Runtime.Serialization.DataMember(Name="definitionProvider")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.DefinitionProvider : Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<bool, Microsoft.VisualStudio.LanguageServer.Protocol.DefinitionOptions>> with get, set
Public Property DefinitionProvider As Boolean
Public Property DefinitionProvider As Nullable(Of SumType(Of Boolean, DefinitionOptions))

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to