Autodesk.AutoCAD.Runtime Namespace > VariableChangedEventHandler Type
VariableChangedEventHandler Type   
Description

A delegate implemented by observers that are interested in variable changed events.

Visual Basic
Public Delegate Sub VariableChangedEventHandler(object sender, VariableChangedEventArgs e) As void
C#
public delegate void VariableChangedEventHandler(object sender, VariableChangedEventArgs e);
Parameters
Parameters 
Description 
sender 
Object that fired the event 
VariableChangedEventArgs 
Example 1

var.Changed += new VariableChangedEventHandler(OnVarChanged);

Example 2

var.Changed -= new VariableChangedEventHandler(OnVarChanged);

   Comments?