Bagikan melalui


IOleComponentManager.QueryService Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
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
)
void QueryService(
    [InAttribute] Guid% guidService, 
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppvObj
)
abstract QueryService : 
        guidService:Guid byref * 
        iid:Guid byref * 
        ppvObj:IntPtr byref -> unit 
function QueryService(
    guidService : Guid, 
    iid : Guid, 
    ppvObj : IntPtr
)

Parameters

.NET Framework Security

See Also

Reference

IOleComponentManager Interface

Microsoft.VisualStudio.OLE.Interop Namespace