Metodo InkAnalyzer.GetAnalysisHints (String)
Aggiornamento: novembre 2007
Restituisce un oggetto ContextNodeCollection contenente tutti gli oggetti AnalysisHintNode con un nome specificato che sono associati all'oggetto InkAnalyzer.
Spazio dei nomi: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Sintassi
'Dichiarazione
Public Function GetAnalysisHints ( _
hintName As String _
) As ContextNodeCollection
'Utilizzo
Dim instance As InkAnalyzer
Dim hintName As String
Dim returnValue As ContextNodeCollection
returnValue = instance.GetAnalysisHints(hintName)
public ContextNodeCollection GetAnalysisHints(
string hintName
)
public:
ContextNodeCollection^ GetAnalysisHints(
String^ hintName
)
public ContextNodeCollection GetAnalysisHints(
String hintName
)
public function GetAnalysisHints(
hintName : String
) : ContextNodeCollection
Parametri
- hintName
Tipo: System.String
Nome del suggerimento di analisi da restituire.
Valore restituito
Tipo: System.Windows.Ink.ContextNodeCollection
Insieme contenente i suggerimenti di analisi con il nome specificato oppure insieme vuoto, se nessun suggerimento è associato all'analizzatore dell'input penna.
Note
Questo metodo può restituire solo suggerimenti di analisi che hanno la proprietà Name impostata.
Esempi
In questo esempio viene creato un oggetto StringBuilder denominato notes. Aggiunge informazioni su tutti i suggerimenti di analisi (denominati theHintName) attualmente associati all'oggetto InkAnalyzer (denominato theInkAnalyzer).
' Create a string builder for information about the hints.
Dim notes As New System.Text.StringBuilder()
notes.AppendLine(String.Format("List of all the current AnalysisHintNodes named '{0}':", theHintName))
For Each theHint As AnalysisHintNode In Me.theInkAnalyzer.GetAnalysisHints(theHintName)
notes.AppendLine(String.Format(" Hint {0}", theHint.Id))
Next theHint
// Create a string builder for information about the hints.
System.Text.StringBuilder notes = new System.Text.StringBuilder();
notes.AppendLine(string.Format(
"List of all the current AnalysisHintNodes named '{0}':",
theHintName));
foreach (AnalysisHintNode theHint
in this.theInkAnalyzer.GetAnalysisHints(theHintName))
{
notes.AppendLine(string.Format(" Hint {0}", theHint.Id));
}
Piattaforme
Windows Vista
.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.
Informazioni sulla versione
.NET Framework
Supportato in: 3.0