IVsWebBrowser::Navigate Method (UInt32, String^)

 

Navigates to web with Visual Studio internal protocol URLs.

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

int Navigate(
	unsigned int dwFlags,
	String^ lpszURL
)

Parameters

dwFlags
Type: System::UInt32

[in] Flags specifying navigation options. Possible values are VSNWB_ForceNew, VSNWB_AddToMRU, VSNWB_VsURLOnly, and VSNWB_WebURLOnly.

lpszURL
Type: System::String^

[in] The URL to which to navigate.

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 IVsWebBrowser::Navigate(
   [in] DWORD dwFlags, 
   [in] LPCOLESTR lpszURL
);
Return to top
Show: