This documentation is archived and is not being maintained.

IVsWebBrowsingService.Navigate Method

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int Navigate (
	[InAttribute] string lpszURL,
	[InAttribute] uint dwNaviageFlags,
	out IVsWindowFrame ppFrame
int Navigate (
	/** @attribute InAttribute() */ String lpszURL, 
	/** @attribute InAttribute() */ UInt32 dwNaviageFlags, 
	/** @attribute OutAttribute() */ /** @ref */ IVsWindowFrame ppFrame
JScript does not support passing value-type arguments by reference.



[in] String containing the URL to navigate to. You can navigate to sites using Web and Visual Studio internal protocols.


[in] Bit flags setting navigation options. Constructed using values from the __VSWBNAVIGATEFLAGS enumeration.


[out] Pointer to the IVsWindowFrame interface of the browser window.

Return Value

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

COM Signature

From vsbrowse.idl:

HRESULT IVsWebBrowsingService::Navigate(
   [in] LPCOLESTR lpszURL, 
   [in] VSWBNAVIGATEFLAGS dwNaviageFlags, 
   [out] IVsWindowFrame** ppFrame