IOleComponentManager.QueryService Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub QueryService ( _
ByRef guidService As Guid, _
ByRef iid As Guid, _
<OutAttribute> ByRef ppvObj As IntPtr _
)
void QueryService(
ref Guid guidService,
ref Guid iid,
out IntPtr ppvObj
)
Parameters
- guidService
Type: System.Guid%
- iid
Type: System.Guid%
- ppvObj
Type: System.IntPtr%
.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.