Share via


ServerCapabilities.FoldingRangeProvider Property

Definition

Gets or sets the value which indicates if folding range is supported.

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

Property Value

Attributes
Newtonsoft.Json.JsonConverterAttribute DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to