다음을 통해 공유


CompletionContext.GetWordToComplete 메서드

정의

완료 목록을 필터링하는 데 사용할 수 있는 완성을 위해 일치시킬 텍스트를 가져옵니다.

protected static string GetWordToComplete (System.CommandLine.Parsing.ParseResult parseResult, int? position = default);
static member GetWordToComplete : System.CommandLine.Parsing.ParseResult * Nullable<int> -> string
Protected Shared Function GetWordToComplete (parseResult As ParseResult, Optional position As Nullable(Of Integer) = Nothing) As String

매개 변수

parseResult
ParseResult

구문 분석 결과입니다.

position
Nullable<Int32>

완료를 제공할 원시 입력(사용 가능한 경우) 내의 위치입니다.

반환

완성을 위해 일치시킬 사용자 입력 텍스트를 포함하는 문자열입니다.

적용 대상