次の方法で共有


IServiceProvider.QueryService Method

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

Syntax

'宣言
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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IServiceProvider Interface

Microsoft.VisualStudio.OLE.Interop Namespace