Package.IServiceProvider.GetService Method (Type)
Visual Studio 2015
Gets the service of the specified type.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Private Function GetService ( serviceType As Type ) As Object Implements IServiceProvider.GetService
Parameters
- serviceType
-
Type:
System.Type
The type of the service to get.
Return Value
Type: System.ObjectAn object representing the requested service, or null if none can be found.
Implements
IServiceProvider.GetService(Type)
Show: