共用方式為


TextDocumentClientCapabilities.OnTypeFormatting Property

Definition

Gets or sets the setting which determines if on type formatting can be dynamically registered.

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

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to