업데이트: 2007년 11월
잉크 분석기와 연결된 모든 잉크에 대한 최대 10개의 분석 대체 항목이 들어 있는 AnalysisAlternateCollection을 반환합니다.
네임스페이스: System.Windows.Ink
어셈블리: IAWinFX(IAWinFX.dll)
구문
‘선언
Public Function GetAlternates As AnalysisAlternateCollection
‘사용 방법
Dim instance As InkAnalyzer
Dim returnValue As AnalysisAlternateCollection
returnValue = instance.GetAlternates()
public AnalysisAlternateCollection GetAlternates()
public:
AnalysisAlternateCollection^ GetAlternates()
public AnalysisAlternateCollection GetAlternates()
public function GetAlternates() : AnalysisAlternateCollection
반환 값
형식: System.Windows.Ink.AnalysisAlternateCollection
잉크 분석기에 연결된 모든 잉크에 대한 최대 10개의 최상위 분석 대체 항목입니다.
설명
최상위 대체 항목이 컬렉션의 첫 번째 대체 항목으로 반환됩니다.
예제
이 예제에서는 theInkAnalyzer라는 InkAnalyzer와 연결된 모든 잉크에 대해 상위 10개의 대체 항목을 가져옵니다. 그런 다음 대체 항목에 대해 인식되는 문자열을 이름이 theAlternateStrings인 StringCollection에 추가합니다.
' Get analysis alternates for the ink analyzer and add the
' recognized strings to a string collection.
theAlternateCollection = Me.theInkAnalyzer.GetAlternates()
theAlternateStrings.Clear()
For Each theAlternate As AnalysisAlternate In theAlternateCollection
theAlternateStrings.Add(theAlternate.RecognizedString)
Next theAlternate
// Get analysis alternates for the ink analyzer and add the
// recognized strings to a string collection.
theAlternateCollection = this.theInkAnalyzer.GetAlternates();
theAlternateStrings.Clear();
foreach (AnalysisAlternate theAlternate
in theAlternateCollection)
{
theAlternateStrings.Add(theAlternate.RecognizedString);
}
플랫폼
Windows Vista
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원