Export (0) Print
Expand All

PropertyDescriptor::AddValueChanged Method

Enables other objects to be notified when this property changes.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public:
virtual void AddValueChanged(
	Object^ component, 
	EventHandler^ handler
)

Parameters

component
Type: System::Object

The component to add the handler for.

handler
Type: System::EventHandler

The delegate to add as a listener.

ExceptionCondition
ArgumentNullException

component or handler is nullptr.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft