共用方式為


TextDocumentSyncOptions.Save Property

Definition

Gets or sets a value indicating whether save notifications are sent to the server.

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

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to