Share via


TextDocumentRegistrationOptions.DocumentSelector Property

Definition

Gets or sets the document filters for this registration option.

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

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to