ServiceProviderHierarchy::GetService Method (Type^)
Visual Studio 2015
Gets a service of the specified type.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- serviceType
-
Type:
System::Type^
The type of the service.
Return Value
Type: System::Object^The requested service, or null if the service cannot be found. This service must be cast to the required service type.
Implements
IServiceProvider::GetService(Type^)This method walks the hierarchy of services to find the requested service.
Show: