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;
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.
This method can be overridden by a derived class.
This method implements IServiceObjectProvider.
Component Class | Component Members | System.ComponentModel Namespace | IContainer | Container | ISite | IServiceObjectProvider