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

[To be supplied.]

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

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

Parameters

sender
The source of the event.
e
A ComponentRenameEventArgs that contains the event data. The following ComponentRenameEventArgs properties provide information specific to this event.
Property Description
Component
Gets or sets the component that is being renamed.
NewName
Gets or sets the current name of the component.
OldName
Gets or sets the name of the component before the rename.

Remarks

This event occurs after the OnComponentChanged event when a component has been renamed.

See Also

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