다음을 통해 공유


InkRecognizerBaseCollection.GetPriorityInkRecognizer 메서드 (InkRecognizerCapabilities)

업데이트: 2007년 11월

컬렉션에서 지정된 기능을 지원하는 첫 번째 인식기를 가져옵니다.

네임스페이스:  System.Windows.Ink.AnalysisCore
어셈블리:  IACore(IACore.dll)

구문

‘선언
Public Function GetPriorityInkRecognizer ( _
    capabilities As InkRecognizerCapabilities _
) As InkRecognizerBase
‘사용 방법
Dim instance As InkRecognizerBaseCollection
Dim capabilities As InkRecognizerCapabilities
Dim returnValue As InkRecognizerBase

returnValue = instance.GetPriorityInkRecognizer(capabilities)
public InkRecognizerBase GetPriorityInkRecognizer(
    InkRecognizerCapabilities capabilities
)
public:
InkRecognizerBase^ GetPriorityInkRecognizer(
    InkRecognizerCapabilities capabilities
)
public InkRecognizerBase GetPriorityInkRecognizer(
    InkRecognizerCapabilities capabilities
)
public function GetPriorityInkRecognizer(
    capabilities : InkRecognizerCapabilities
) : InkRecognizerBase

매개 변수

반환 값

형식: System.Windows.Ink.AnalysisCore.InkRecognizerBase
컬렉션에서 지정한 InkRecognizerCapabilities를 지원하는 첫 번째 InkRecognizerBase이거나 컬렉션에 해당 인식기가 없는 경우에는 nullNull 참조(Visual Basic의 경우 Nothing) 참조(Visual Basic에서는 Nothing)입니다.

예제

다음 예제에서는 InkRecognizerBaseCollection, theInkRecognizers에서 상자식 입력을 지원하는 첫 번째 InkRecognizerBase를 가져옵니다.

' Get the first recognizer from the InkRecognizerCollection that supports
' boxed input.
Dim theFirstBoxedInputInkRecognizer As System.Windows.Ink.AnalysisCore.InkRecognizerBase = _
    theInkRecognizers.GetPriorityInkRecognizer( _
        System.Windows.Ink.AnalysisCore.InkRecognizerCapabilities.BoxedInput)
            // Get the first recognizer from the InkRecognizerCollection that supports
            // boxed input.
            InkRecognizerBase theFirstBoxedInputInkRecognizer =
                theInkRecognizers.GetPriorityInkRecognizer(
                    System.Windows.Ink.AnalysisCore.InkRecognizerCapabilities.BoxedInput);

플랫폼

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

InkRecognizerBaseCollection 클래스

InkRecognizerBaseCollection 멤버

GetPriorityInkRecognizer 오버로드

System.Windows.Ink.AnalysisCore 네임스페이스