Поделиться через


InkAnalyzerBase.DeleteAnalysisHint - метод

Обновлен: Ноябрь 2007

Removes an analysis hint from the ink analyzer.

Пространство имен:  System.Windows.Ink.AnalysisCore
Сборка:  IACore (в IACore.dll)

Синтаксис

'Декларация
Public Sub DeleteAnalysisHint ( _
    hintToDelete As ContextNodeBase _
)
'Применение
Dim instance As InkAnalyzerBase
Dim hintToDelete As ContextNodeBase

instance.DeleteAnalysisHint(hintToDelete)
public void DeleteAnalysisHint(
    ContextNodeBase hintToDelete
)
public:
void DeleteAnalysisHint(
    ContextNodeBase^ hintToDelete
)
public void DeleteAnalysisHint(
    ContextNodeBase hintToDelete
)
public function DeleteAnalysisHint(
    hintToDelete : ContextNodeBase
)

Параметры

Заметки

Removing an analysis hint does not mark the hint's area for reanalysis. To mark the area within the hint for reanalysis, call the DirtyRegion object's Union method with the hint's Location.

The hint is removed from the analyzer; however, the ContextNodeBase itself is not deleted.

This method throws an exception when the hintToDelete is a ContextNodeBase that does not have a Type property value of ContextNodeTypeBase.AnalysisHint.

Примеры

The following example removes the analysis hint node, theAnalysisHintNodeBase, from the InkAnalyzerBase, theInkAnalyzerBase.

' Remove the analysis hint from the ink analyzer.
theInkAnalyzerBase.DeleteAnalysisHint(theAnalysisHintNode)
If Nothing IsNot theAnalysisHintNode Then
    ' Release this reference to the analysis hint.
    theAnalysisHintNode = Nothing
End If
// Remove the analysis hint from the ink analyzer.
theInkAnalyzerBase.DeleteAnalysisHint(theAnalysisHintNode);
if (null != theAnalysisHintNode)
{
    // Release this reference to the analysis hint.
    theAnalysisHintNode = null;
}

Платформы

Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

InkAnalyzerBase Класс

InkAnalyzerBase - члены

System.Windows.Ink.AnalysisCore - пространство имен

InkAnalyzerBase.CreateAnalysisHint

InkAnalyzerBase.GetAnalysisHints