Partager via


ServerCapabilities.DocumentRangeFormattingProvider Property

Definition

Gets or sets a value indicating whether document range formatting is supported.

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

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to