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;
An object implementing the requested service, or null of the service could not be resolved.
ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace