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!

Component.GetServiceObject

Returns an object representing a service provided by the Component.

[Visual Basic]
Overridable Public Function GetServiceObject( _
   ByVal service As Type _
) As Object
[C#]
public virtual object GetServiceObject(
   Type service
);
[C++]
public: virtual Object* GetServiceObject(
   Type* service
);
[JScript]
public function GetServiceObject(
   service : Type
) : Object;

Parameters

service
A service provided by the Component.

Return Value

An Object representing a service provided by the Component.

a null reference (in Visual Basic Nothing) if the Component does not provide the specified service.

Remarks

This method can be overridden by a derived class.

This method implements IServiceObjectProvider.

See Also

Component Class | Component Members | System.ComponentModel Namespace | IContainer | Container | ISite | IServiceObjectProvider