共用方式為


InitializeParams.RootPath Property

Definition

Caution

Deprecated in favour of RootUri

Gets or sets the workspace root path.

public:
 property System::String ^ RootPath { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember(Name="rootPath")]
public string RootPath { get; set; }
[System.Runtime.Serialization.DataMember(Name="rootPath")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
[System.Obsolete("Deprecated in favour of RootUri")]
public string? RootPath { get; set; }
[<System.Runtime.Serialization.DataMember(Name="rootPath")>]
member this.RootPath : string with get, set
[<System.Runtime.Serialization.DataMember(Name="rootPath")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
[<System.Obsolete("Deprecated in favour of RootUri")>]
member this.RootPath : string with get, set
Public Property RootPath As String

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute ObsoleteAttribute

Applies to