IVsWebBrowser.Navigate(UInt32, String) 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.
Navigates to web with Visual Studio internal protocol URLs.
public:
int Navigate(System::UInt32 dwFlags, System::String ^ lpszURL);
public:
int Navigate(unsigned int dwFlags, Platform::String ^ lpszURL);
int Navigate(unsigned int dwFlags, std::wstring const & lpszURL);
public int Navigate (uint dwFlags, string lpszURL);
abstract member Navigate : uint32 * string -> int
Public Function Navigate (dwFlags As UInteger, lpszURL As String) As Integer
Parameters
- dwFlags
- UInt32
[in] Flags specifying navigation options. Possible values are VSNWB_ForceNew, VSNWB_AddToMRU, VSNWB_VsURLOnly, and VSNWB_WebURLOnly.
- lpszURL
- String
[in] The URL to which to navigate.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsbrowse.idl:
HRESULT IVsWebBrowser::Navigate(
[in] DWORD dwFlags,
[in] LPCOLESTR lpszURL
);