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

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

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

var.Changing += new VariableChangingEventHandler(OnVarChanging); //add new event handler

Example 2

var.Changing -= new VariableChangingEventHandler(OnVarChanging); //remove event handler

   Comments?