Package.IServiceProvider.QueryService Method (Guid, Guid, IntPtr)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Internal IServiceProvider implementation.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private abstract QueryService : sid:Guid byref * iid:Guid byref * ppvObj:nativeint byref -> int private override QueryService : sid:Guid byref * iid:Guid byref * ppvObj:nativeint byref -> int
Parameters
- sid
-
Type:
System.Guid
GUID of the service.
- iid
-
Type:
System.Guid
GUID of the requested interface
- ppvObj
-
Type:
System.IntPtr
Pointer to the object requested.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK, otherwise it returns an error code.
Show: