CompletionItem(String, String, String, String, String, String) Constructor
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.
public CompletionItem(string label, string kind = "Value", string? sortText = default, string? insertText = default, string? documentation = default, string? detail = default);
new System.CommandLine.Completions.CompletionItem : string * string * string * string * string * string -> System.CommandLine.Completions.CompletionItem
Public Sub New (label As String, Optional kind As String = "Value", Optional sortText As String = Nothing, Optional insertText As String = Nothing, Optional documentation As String = Nothing, Optional detail As String = Nothing)
Parameters
- label
- String
The label value, which is the text displayed to users and, unless insertText
is set, is also used to populate the InsertText property.
- kind
- String
The kind of completion item.
- sortText
- String
The value used to sort the completion item in a list. If this is not provided, then label
is used.
- insertText
- String
The text to be inserted by this completion item. If this is not provided, then label
is used.
- documentation
- String
Documentation about the completion item.
- detail
- String
Additional details regarding the completion item.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET