ComponentDesigner.RaiseComponentChanged Method (MemberDescriptor, Object, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: