ContextNodePropertiesUpdated イベントにデータを提供します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)
構文
'宣言
Public Class ContextNodePropertiesUpdatedEventArgs _
Inherits EventArgs
'使用
Dim instance As ContextNodePropertiesUpdatedEventArgs
public class ContextNodePropertiesUpdatedEventArgs : EventArgs
public ref class ContextNodePropertiesUpdatedEventArgs : public EventArgs
public class ContextNodePropertiesUpdatedEventArgs extends EventArgs
public class ContextNodePropertiesUpdatedEventArgs extends EventArgs
解説
イベント処理の詳細については、「イベントの利用」を参照してください。
例
次の例では、ContextNodePropertiesUpdated イベントを処理する UpdateContextNodeProperties メソッドを定義します。イベント情報は、ドキュメント モデル オブジェクト theDocumentModel に渡されます。
この例では、ドキュメント モデルの定義は提供していません。また、ドキュメント モデルが、渡された情報を処理する方法も示していません。
'/ <summary>
'/ Handles the InkAnalyzer.ContextNodePropertiesUpdated event.
'/ </summary>
'/ <param name="sender">The source of the event.</param>
'/ <param name="e">The event data.</param>
Private Sub UpdateContextNodeProperties( _
ByVal sender As Object, _
ByVal e As Microsoft.Ink.ContextNodePropertiesUpdatedEventArgs)
Me.theDocumentModel.UpdateNodeProperties(e.UpdatedNode)
End Sub 'UpdateContextNodeProperties
/// <summary>
/// Handles the InkAnalyzer.ContextNodePropertiesUpdated event.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The event data.</param>
private void UpdateContextNodeProperties(
object sender, Microsoft.Ink.ContextNodePropertiesUpdatedEventArgs e)
{
this.theDocumentModel.UpdateNodeProperties(e.UpdatedNode);
}
継承階層
System.Object
System.EventArgs
Microsoft.Ink.ContextNodePropertiesUpdatedEventArgs
スレッド セーフ
この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0