次の方法で共有


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 _
)
'使用
Dim instance As IOleComponentManager
Dim guidService As Guid
Dim iid As Guid
Dim ppvObj As IntPtr

instance.QueryService(guidService, iid, _
    ppvObj)
void QueryService(
    ref Guid guidService,
    ref Guid iid,
    out IntPtr ppvObj
)
void QueryService(
    [InAttribute] Guid% guidService, 
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppvObj
)
function QueryService(
    guidService : Guid, 
    iid : Guid, 
    ppvObj : IntPtr
)

Parameters

Permissions

See Also

Reference

IOleComponentManager Interface

IOleComponentManager Members

Microsoft.VisualStudio.OLE.Interop Namespace