InkAnalyzerBase.GetAnalysisHints - метод (String)
Обновлен: Ноябрь 2007
Returns all of the analysis hint nodes with the specified name that are attached to the InkAnalyzerBase.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Function GetAnalysisHints ( _
hintName As String _
) As ContextNodeBaseCollection
'Применение
Dim instance As InkAnalyzerBase
Dim hintName As String
Dim returnValue As ContextNodeBaseCollection
returnValue = instance.GetAnalysisHints(hintName)
public ContextNodeBaseCollection GetAnalysisHints(
string hintName
)
public:
ContextNodeBaseCollection^ GetAnalysisHints(
String^ hintName
)
public ContextNodeBaseCollection GetAnalysisHints(
String hintName
)
public function GetAnalysisHints(
hintName : String
) : ContextNodeBaseCollection
Параметры
- hintName
Тип: System.String
The name of the analysis hint nodes to return.
Возвращаемое значение
Тип: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
A collection containing each analysis hint node with the specified name that is attached to the ink analyzer.
Заметки
This method returns an empty collection if no such analysis hint nodes are attached to the ink analyzer.
An analysis hint node is a ContextNodeBase that has a Type property value of AnalysisHint.
To add context information to the hint, use the ContextNodeBase object's AddPropertyData method with the propertyDataId parameter set to one of the globally unique identifiers (GUIDs) in the PropertyGuidsForAnalysisHintsBase class.
This method can return only analysis hints that have had their Name property set.
To find which property values are set on a context node, use GetPropertyDataIds. To find the value of a property, use GetPropertyData.
Примеры
The following example retrieves only the analysis hint nodes with the specified name that are currently attached to the InkAnalyzerBase, theInkAnalyzerBase.
Dim theAnalysisHints As System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection = _
theInkAnalyzerBase.GetAnalysisHints("Allow Partial Dictionary Terms")
System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection theAnalysisHints =
theInkAnalyzerBase.GetAnalysisHints(
"Allow Partial Dictionary Terms");
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
System.Windows.Ink.AnalysisCore - пространство имен
InkAnalyzerBase.CreateAnalysisHint