IVsWebBrowserUser2.GetWebBrowserContext(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.
Get an instance of a service provider to offer services to the browser.
public:
int GetWebBrowserContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ % ppServiceProvider);
public:
int GetWebBrowserContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ & ppServiceProvider);
int GetWebBrowserContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & & ppServiceProvider);
public int GetWebBrowserContext (out Microsoft.VisualStudio.OLE.Interop.IServiceProvider ppServiceProvider);
abstract member GetWebBrowserContext : IServiceProvider -> int
Public Function GetWebBrowserContext (ByRef ppServiceProvider As IServiceProvider) As Integer
Parameters
- ppServiceProvider
- IServiceProvider
[out] Pointer to the IServiceProvider interface providing access to the service.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.