IVsWebBrowserUser2.GetWebBrowserContext(IServiceProvider) Method

Definition

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.

Applies to