LanguageService::GetService Method (Type^)
Visual Studio 2015
Returns a service object that can be cast to a specific interface.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- serviceType
-
Type:
System::Type^
[in] The GUID of the service to get.
Return Value
Type: System::Object^If successful, returns an object that can be cast to a desired interface; otherwise, returns a null value (the service does not exist or is not available).
A service proffers at least one interface and other, related interfaces can be obtained from either the service or another interface.
Show: