IVsWebBrowsingService::Navigate Method (String^, UInt32, IVsWindowFrame^)

 

Navigates to the specified URL.

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

int Navigate(
	String^ lpszURL,
	unsigned int dwNaviageFlags,
	[OutAttribute] IVsWindowFrame^% ppFrame
)

Parameters

lpszURL
Type: System::String^

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

dwNaviageFlags
Type: System::UInt32

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

ppFrame
Type: Microsoft.VisualStudio.Shell.Interop::IVsWindowFrame^

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

Return Value

Type: System::Int32

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

From vsbrowse.idl:

HRESULT IVsWebBrowsingService::Navigate(
   [in] LPCOLESTR lpszURL, 
   [in] VSWBNAVIGATEFLAGS dwNaviageFlags, 
   [out] IVsWindowFrame** ppFrame
);
Return to top
Show: