CodeActionContext.Only Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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