Component.GetService Method (Type)
Namespace:
System.ComponentModel
Assembly: System (in System.dll)
Assembly: System (in System.dll)
Parameters
- service
-
Type:
System.Type
A service provided by the Component.
Return Value
Type: System.ObjectAn Object that represents a service provided by the Component, or null if the Component does not provide the specified service.
This method can be overridden by a derived class.
.NET Framework
Available since 1.1
Available since 1.1