RaiseComponentChanged Method

ComponentDesigner.RaiseComponentChanged Method (MemberDescriptor, Object, Object)

 

Notifies the IComponentChangeService that this component has been changed.

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

protected void RaiseComponentChanged(
	MemberDescriptor member,
	object oldValue,
	object newValue
)

Parameters

member
Type: System.ComponentModel.MemberDescriptor

A MemberDescriptor that indicates the member that has been changed.

oldValue
Type: System.Object

The old value of the member.

newValue
Type: System.Object

The new value of the member.

Call this method only when you affect component properties directly and not through the accessors provided by MemberDescriptor.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft