次の方法で共有


IVsWebBrowser.Navigate(UInt32, String) Method

Definition

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  
);  

Applies to