InkAnalyzer にアタッチされたすべての AnalysisHintNode オブジェクトを返します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)
構文
'宣言
Public Function GetAnalysisHints As ContextNodeCollection
'使用
Dim instance As InkAnalyzer
Dim returnValue As ContextNodeCollection
returnValue = instance.GetAnalysisHints()
public ContextNodeCollection GetAnalysisHints()
public:
ContextNodeCollection^ GetAnalysisHints()
public ContextNodeCollection GetAnalysisHints()
public function GetAnalysisHints() : ContextNodeCollection
戻り値
型 : Microsoft.Ink.ContextNodeCollection
InkAnalyzer にアタッチされたすべての AnalysisHintNode オブジェクト。
解説
AnalysisHintNode オブジェクトがアタッチされていない場合、このメソッドは、空の ContextNodeCollection を返します。
例
この例では、System.Text.StringBuilder, notes を作成します。次に、InkAnalyzer、theInkAnalyzer に現在アタッチされている各分析ヒントのグローバル一意識別子 (GUID) と名前を追加します。
' Create a string builder for information about the hints.
Dim notes As New System.Text.StringBuilder()
notes.AppendLine("List of all the current AnalysisHintNodes:")
Dim theHint As Microsoft.Ink.AnalysisHintNode
For Each theHint In Me.theInkAnalyzer.GetAnalysisHints()
notes.AppendLine(String.Format( _
" Hint {0}, name '{1}'", theHint.Id, theHint.Name))
Next theHint
// Create a string builder for information about the hints.
System.Text.StringBuilder notes = new System.Text.StringBuilder();
notes.AppendLine("List of all the current AnalysisHintNodes:");
foreach (Microsoft.Ink.AnalysisHintNode theHint
in this.theInkAnalyzer.GetAnalysisHints())
{
notes.AppendLine(string.Format(" Hint {0}, name '{1}'",
theHint.Id, theHint.Name));
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0