共用方式為


WorkspaceEdit.DocumentChanges 屬性

定義

取得或設定陣列,代表已設定版本的文件變更

public:
 property cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^> ^ DocumentChanges { cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^> ^ get(); void set(cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^> ^ value); };
public:
 property Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^> ^, cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::SumType<Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^, Microsoft::VisualStudio::LanguageServer::Protocol::CreateFile ^, Microsoft::VisualStudio::LanguageServer::Protocol::RenameFile ^, Microsoft::VisualStudio::LanguageServer::Protocol::DeleteFile ^>> ^>> DocumentChanges { Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^> ^, cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::SumType<Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^, Microsoft::VisualStudio::LanguageServer::Protocol::CreateFile ^, Microsoft::VisualStudio::LanguageServer::Protocol::RenameFile ^, Microsoft::VisualStudio::LanguageServer::Protocol::DeleteFile ^>> ^>> get(); void set(Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^> ^, cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::SumType<Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentEdit ^, Microsoft::VisualStudio::LanguageServer::Protocol::CreateFile ^, Microsoft::VisualStudio::LanguageServer::Protocol::RenameFile ^, Microsoft::VisualStudio::LanguageServer::Protocol::DeleteFile ^>> ^>> value); };
[System.Runtime.Serialization.DataMember(Name="documentChanges")]
public Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit[] DocumentChanges { get; set; }
[System.Runtime.Serialization.DataMember(Name="documentChanges")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit[] DocumentChanges { get; set; }
[System.Runtime.Serialization.DataMember(Name="documentChanges")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.VisualStudio.LanguageServer.Protocol.SumType<Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit[],Microsoft.VisualStudio.LanguageServer.Protocol.SumType<Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit,Microsoft.VisualStudio.LanguageServer.Protocol.CreateFile,Microsoft.VisualStudio.LanguageServer.Protocol.RenameFile,Microsoft.VisualStudio.LanguageServer.Protocol.DeleteFile>[]>? DocumentChanges { get; set; }
[<System.Runtime.Serialization.DataMember(Name="documentChanges")>]
member this.DocumentChanges : Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit[] with get, set
[<System.Runtime.Serialization.DataMember(Name="documentChanges")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.DocumentChanges : Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit[] with get, set
[<System.Runtime.Serialization.DataMember(Name="documentChanges")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.DocumentChanges : Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit[], Microsoft.VisualStudio.LanguageServer.Protocol.SumType<Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentEdit, Microsoft.VisualStudio.LanguageServer.Protocol.CreateFile, Microsoft.VisualStudio.LanguageServer.Protocol.RenameFile, Microsoft.VisualStudio.LanguageServer.Protocol.DeleteFile>[]>> with get, set
Public Property DocumentChanges As TextDocumentEdit()
Public Property DocumentChanges As Nullable(Of SumType(Of TextDocumentEdit(), SumType(Of TextDocumentEdit, CreateFile, RenameFile, DeleteFile)()))

屬性值

屬性
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

適用於