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!

Container.GetComponent

Gets a specific Component in the Container.

[Visual Basic]
Overridable Public Function GetComponent( _
   ByVal name As String _
) As IComponent
[C#]
public virtual IComponent GetComponent(
   string name
);
[C++]
public: virtual IComponent* GetComponent(
   String* name
);
[JScript]
public function GetComponent(
   name : String
) : IComponent;

Parameters

name
The name of the Component to get.

Return Value

The component specified by name.

a null reference (in Visual Basic Nothing) if the named component cannot be found.

Remarks

This method can be overridden by a derived class.

See Also

Container Class | Container Members | System.ComponentModel Namespace