This documentation is archived and is not being maintained.

PropertyDescriptor.AddValueChanged Method

Enables other objects to be notified when this property changes.

[Visual Basic]
Public Overridable Sub AddValueChanged( _
   ByVal component As Object, _
   ByVal handler As EventHandler _
)
[C#]
public virtual void AddValueChanged(
 object component,
 EventHandler handler
);
[C++]
public: virtual void AddValueChanged(
 Object* component,
 EventHandler* handler
);
[JScript]
public function AddValueChanged(
   component : Object,
 handler : EventHandler
);

Parameters

component
The component to add the handler for.
handler
The delegate to add as a listener.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

PropertyDescriptor Class | PropertyDescriptor Members | System.ComponentModel Namespace

Show: