ServiceContainer::GetService Method (Type^)
.NET Framework (current version)
Gets the requested service.
Assembly: System (in System.dll)
Parameters
- serviceType
-
Type:
System::Type^
The type of service to retrieve.
Return Value
Type: System::Object^An instance of the service if it could be found, or null if it could not be found.
Implements
IServiceProvider::GetService(Type^)
.NET Framework
Available since 1.1
Available since 1.1
Show: