Share via


IVsWebBrowsingService.Navigate(String, UInt32, IVsWindowFrame) Method

Definition

Navigates to the specified URL.

public:
 int Navigate(System::String ^ lpszURL, System::UInt32 dwNaviageFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ % ppFrame);
public:
 int Navigate(Platform::String ^ lpszURL, unsigned int dwNaviageFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ &  ppFrame);
int Navigate(std::wstring const & lpszURL, unsigned int dwNaviageFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & & ppFrame);
public int Navigate (string lpszURL, uint dwNaviageFlags, out Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ppFrame);
abstract member Navigate : string * uint32 * IVsWindowFrame -> int
Public Function Navigate (lpszURL As String, dwNaviageFlags As UInteger, ByRef ppFrame As IVsWindowFrame) As Integer

Parameters

lpszURL
String

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

dwNaviageFlags
UInt32

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

ppFrame
IVsWindowFrame

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

Returns

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

Remarks

COM Signature

From vsbrowse.idl:

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

Applies to