IServiceProvider.QueryService Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
Function QueryService ( _
ByRef guidService As Guid, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvObject As IntPtr _
) As Integer
int QueryService(
ref Guid guidService,
ref Guid riid,
out IntPtr ppvObject
)
Parameters
- guidService
Type: System.Guid%
- riid
Type: System.Guid%
- ppvObject
Type: System.IntPtr%
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.