Condividi tramite


Metodo InkAnalyzer.GetAnalysisHints

Aggiornamento: novembre 2007

Restituisce un oggetto ContextNodeCollection contenente tutti gli oggetti AnalysisHintNode associati all'oggetto InkAnalyzer.

Spazio dei nomi:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Sintassi

'Dichiarazione
Public Function GetAnalysisHints As ContextNodeCollection
'Utilizzo
Dim instance As InkAnalyzer
Dim returnValue As ContextNodeCollection

returnValue = instance.GetAnalysisHints()
public ContextNodeCollection GetAnalysisHints()
public:
ContextNodeCollection^ GetAnalysisHints()
public ContextNodeCollection GetAnalysisHints()
public function GetAnalysisHints() : ContextNodeCollection

Valore restituito

Tipo: System.Windows.Ink.ContextNodeCollection
Tutti gli oggetti AnalysisHintNode associati all'oggetto InkAnalyzer.

Note

Questo metodo restituisce un oggetto ContextNodeCollection vuoto se non è associato alcun oggetto AnalysisHintNode.

Esempi

In questo esempio viene creato un oggetto StringBuilder denominato notes. Viene quindi aggiunto il GUID e il nome di ogni suggerimento di analisi attualmente associato a 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:")

For Each theHint As AnalysisHintNode 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 (AnalysisHintNode theHint
    in this.theInkAnalyzer.GetAnalysisHints())
{
    notes.AppendLine(string.Format("  Hint {0}, name '{1}'",
        theHint.Id, theHint.Name));
}

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

Vedere anche

Riferimenti

InkAnalyzer Classe

Membri InkAnalyzer

Overload GetAnalysisHints

Spazio dei nomi System.Windows.Ink

System.Windows.Ink.AnalysisHintNode