共用方式為


ServerCapabilities.CodeLensProvider Property

Definition

Gets or sets the value which indicates if code lens is supported.

public:
 property Microsoft::VisualStudio::LanguageServer::Protocol::CodeLensOptions ^ CodeLensProvider { Microsoft::VisualStudio::LanguageServer::Protocol::CodeLensOptions ^ get(); void set(Microsoft::VisualStudio::LanguageServer::Protocol::CodeLensOptions ^ value); };
[System.Runtime.Serialization.DataMember(Name="codeLensProvider")]
public Microsoft.VisualStudio.LanguageServer.Protocol.CodeLensOptions CodeLensProvider { get; set; }
[System.Runtime.Serialization.DataMember(Name="codeLensProvider")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.VisualStudio.LanguageServer.Protocol.CodeLensOptions? CodeLensProvider { get; set; }
[<System.Runtime.Serialization.DataMember(Name="codeLensProvider")>]
member this.CodeLensProvider : Microsoft.VisualStudio.LanguageServer.Protocol.CodeLensOptions with get, set
[<System.Runtime.Serialization.DataMember(Name="codeLensProvider")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.CodeLensProvider : Microsoft.VisualStudio.LanguageServer.Protocol.CodeLensOptions with get, set
Public Property CodeLensProvider As CodeLensOptions

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to