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!

ComponentDesigner.GetServiceObject

Provides a way for a designer to get services from the hosting environment. The default implementation of this requests the service from the compoent's site.

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

Parameters

serviceType
The type of service to request.

Return Value

An object implementing the requested service, or null of the service could not be resolved.

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace