次の方法で共有


IVsIntellisenseHost.GetServiceProvider(IServiceProvider) Method

Definition

Gets an IntelliSense service object.

public:
 int GetServiceProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ % ppSP);
public:
 int GetServiceProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ &  ppSP);
int GetServiceProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & & ppSP);
public int GetServiceProvider (out Microsoft.VisualStudio.OLE.Interop.IServiceProvider ppSP);
abstract member GetServiceProvider : IServiceProvider -> int
Public Function GetServiceProvider (ByRef ppSP As IServiceProvider) As Integer

Parameters

ppSP
IServiceProvider

[out] Pointer to IServiceProvider.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsIntellisenseHost::GetServiceProvider([out]IServiceProvider **ppSP);

Applies to