Bewerken

Share via


PropertyDescriptor.AddValueChanged(Object, EventHandler) Method

Definition

Enables other objects to be notified when this property changes.

public:
 virtual void AddValueChanged(System::Object ^ component, EventHandler ^ handler);
public virtual void AddValueChanged (object component, EventHandler handler);
abstract member AddValueChanged : obj * EventHandler -> unit
override this.AddValueChanged : obj * EventHandler -> unit
Public Overridable Sub AddValueChanged (component As Object, handler As EventHandler)

Parameters

component
Object

The component to add the handler for.

handler
EventHandler

The delegate to add as a listener.

Exceptions

component or handler is null.

Applies to