IVsIntellisenseHost.GetServiceProvider(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);