Component::GetService Method (Type^)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Namespace:
System.ComponentModel
Assembly: System (in System.dll)
Return to top
Assembly: System (in System.dll)
Parameters
- service
-
Type:
System::Type^
A service provided by the Component.
Return Value
Type: System::Object^An 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
Show: