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!

MarshalByRefComponent.GetContainer

Returns the component's container.

[Visual Basic]
Overridable Public Function GetContainer() As IContainer
[C#]
public virtual IContainer GetContainer();
[C++]
public: virtual IContainer* GetContainer();
[JScript]
public function GetContainer() : IContainer;

Return Value

Returns an object implementing the IContainer interface that represents the component's container. If the component does not have a site, null is returned.

See Also

MarshalByRefComponent Class | MarshalByRefComponent Members | System.ComponentModel Namespace