InkAnalyzer.ModifyTopAlternate - метод (AnalysisAlternate)
Обновлен: Ноябрь 2007
Changes the current top alternate to the specified AnalysisAlternate. Automatically clears the confirmation type for all context nodes associated with the alternate.
Пространство имен: System.Windows.Ink
Сборка: IAWinFX (в IAWinFX.dll)
Синтаксис
'Декларация
Public Function ModifyTopAlternate ( _
alternate As AnalysisAlternate _
) As Boolean
'Применение
Dim instance As InkAnalyzer
Dim alternate As AnalysisAlternate
Dim returnValue As Boolean
returnValue = instance.ModifyTopAlternate(alternate)
public bool ModifyTopAlternate(
AnalysisAlternate alternate
)
public:
bool ModifyTopAlternate(
AnalysisAlternate^ alternate
)
public boolean ModifyTopAlternate(
AnalysisAlternate alternate
)
public function ModifyTopAlternate(
alternate : AnalysisAlternate
) : boolean
Параметры
- alternate
Тип: System.Windows.Ink.AnalysisAlternate
Возвращаемое значение
Тип: System.Boolean
Заметки
To get analysis alternates, use GetAlternates. To get the context nodes associated with an analysis alternate, use AnalysisAlternate.AlternateNodes.
To change the confirmation type for a context node, use ContextNodeBaseConfirm(ConfirmationType).
Примеры
This example modifies the top alternate for an InkAnalyzer named theInkAnalyzer, to the AnalysisAlternate, named theAnalysisAlternate. The call to ModifyTopAlternate clears the confirmation type for all context nodes associated with the alternate.
' Modify the top alternate. This clears the confirmation type
' for the associated context nodes.
Me.theInkAnalyzer.ModifyTopAlternate(theAnalysisAlternate)
// Modify the top alternate. This clears the confirmation type
// for the associated context nodes.
this.theInkAnalyzer.ModifyTopAlternate(theAnalysisAlternate);
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
ModifyTopAlternate - перегрузка
System.Windows.Ink - пространство имен
System.Windows.Ink.AnalysisAlternate