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 ComponentChanging Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the ComponentChanging event.

[Visual Basic]
Private Sub IComponentChangeServiceName_ComponentChanging( _
   ByVal sender As Object, _
   ByVal e As ComponentChangingEventArgs _
)
[C#]
private void IComponentChangeServiceName_ComponentChanging(
   object sender,
   ComponentChangingEventArgs e
);
[C++]
private: void IComponentChangeServiceName_ComponentChanging(
   Object* sender,
   ComponentChangingEventArgs* e
);
[JScript]
private IComponentChangeServiceName_ComponentChanging(
   sender : Object,
   e : ComponentChangingEventArgs
);

Parameters

sender
The source of the event.
e
A ComponentChangingEventArgs that contains the event data. The following ComponentChangingEventArgs properties provide information specific to this event.
Property Description
Component
Gets or sets the component that is being changed or that is the parent container of the member being changed.
Member
Gets or sets the member of the component that is about to be changed.

Remarks

This event occurs before the component is actually changed. It gives a designer the chance to abort the change. Generally, only the top-level designer cares about such change requests. This event does not occur during form load and unload, because changes are expected at this time.

See Also

IComponentChangeService Interface | IComponentChangeService MembersTopic | System.ComponentModel.Design Namespace