InkAnalyzer.GetAnalysisHints - метод
Обновлен: Ноябрь 2007
Returns all of the AnalysisHintNode objects that are attached to the InkAnalyzer.
Пространство имен: 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
All of the AnalysisHintNode objects that are attached to the InkAnalyzer.
Заметки
This method returns an empty ContextNodeCollection if no AnalysisHintNode objects are attached.
Примеры
This example creates a System.Text.StringBuilder, notes. It then adds the globally unique identifier (GUID) and name of each analysis hint currently attached to the InkAnalyzer, theInkAnalyzer.
' 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