Microsoft SDK for Java

IComponent.setComponentSite

Sets the site of the component.

Syntax

public void setComponentSite( IComponentSite value )

Parameters

value

An object implementing the IComponentSite interface that represents the component's site. A non-null value indicates that the component has been added to a container; a null value indicates that the component is being removed from a container.

Remarks

The site passed to setComponentSite must be returned by subsequent calls to getComponentSite.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.