NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IComponentChangeService.OnComponentChanged

Announces to the component change service that a particular component has changed.

[Visual Basic]
Sub OnComponentChanged( _
   ByVal component As Object, _
   ByVal member As MemberDescriptor, _
   ByVal oldValue As Object, _
   ByVal newValue As Object _
)
[C#]
void OnComponentChanged(
   object component,
   MemberDescriptor member,
   object oldValue,
   object newValue
);
[C++]
void OnComponentChanged(
   Object* component,
   MemberDescriptor* member,
   Object* oldValue,
   Object* newValue
) = 0;
[JScript]
function OnComponentChanged(
   component : Object,
   member : MemberDescriptor,
   oldValue : Object,
   newValue : Object
);

Parameters

component
The component that has changed.
member
The member that has changed. If this change is not related to a single member, this can be a null reference (in Visual Basic Nothing).
oldValue
The old value of the member. This is only valid if member is not a null reference (Nothing).
newValue
The new value of the member. This is only valid if member is not a null reference (Nothing).

Remarks

This event is called after a property has been changed. The framework typically calls these for you, so most of the time you don't need to explictly call them.

This event allows the implementor to do any post-processing that may be needed after a property change. For example, a designer will typically update the source code that sets the property with the new value.

See Also

IComponentChangeService Interface | IComponentChangeService Members | System.ComponentModel.Design Namespace | System.ComponentModel.Design.MemberDescriptor