Partager via


InkAnalyzer.GetAnalysisHints, méthode

Mise à jour : November 2007

Retourne un ContextNodeCollection qui contient tous les objets AnalysisHintNode attachés au InkAnalyzer.

Espace de noms :  System.Windows.Ink
Assembly :  IAWinFX (dans IAWinFX.dll)

Syntaxe

'Déclaration
Public Function GetAnalysisHints As ContextNodeCollection
'Utilisation
Dim instance As InkAnalyzer
Dim returnValue As ContextNodeCollection

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

Valeur de retour

Type : System.Windows.Ink.ContextNodeCollection
Tous les objets AnalysisHintNode attachés au InkAnalyzer.

Notes

Cette méthode retourne un ContextNodeCollection vide si aucun objet AnalysisHintNode n'est attaché.

Exemples

Cet exemple crée un StringBuilder nommé notes. Il ajoute ensuite l'identificateur global unique (GUID) et le nom de chaque indication d'analyse actuellement attachée au 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));
}

Plateformes

Windows Vista

Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Informations de version

.NET Framework

Pris en charge dans : 3.0

Voir aussi

Référence

InkAnalyzer, classe

Membres InkAnalyzer

GetAnalysisHints, surcharge

System.Windows.Ink, espace de noms

System.Windows.Ink.AnalysisHintNode