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!

IDesignerHost.DestroyComponent

Destroys the given component, removing it from the design container.

[Visual Basic]
Sub DestroyComponent( _
   ByVal component As IComponent _
)
[C#]
void DestroyComponent(
   IComponent component
);
[C++]
void DestroyComponent(
   IComponent* component
) = 0;
[JScript]
function DestroyComponent(
   component : IComponent
);

Parameters

component
The component to destroy.

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace | CreateComponent | IComponent