Share via


CodeActionContext.Only Property

Definition

Gets or sets an array of code action kinds to filter for.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute DataMemberAttribute

Applies to