Package.GetGlobalService Method (Type)
Visual Studio 2015
Gets a service proffered globally by Visual Studio or one of its packages. This is the same as calling GetService() on an instance of a package that proffers no services itself.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- serviceType
-
Type:
System.Type
The type of the service requested.
Show: