Share via


CodeActionOptions.CodeActionKinds Property

Definition

Gets or sets the kinds of code action that this server may return.

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

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Remarks

The list of kinds may be generic, such as `CodeActionKind.Refactor`, or the server may list out every specific kind they provide.

Applies to