Compartilhar via


IVsFavoritesProvider.Navigate(String, UInt32, IVsWindowFrame) Method

Definition

Gets an IVsWindowFrame the IDE can use when adding to the favorites list.

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

Parameters

lpszURL
String

[in] Pointer to a string containing the URL.

dwFlags
UInt32

[in] Reserved for future use.

ppFrame
IVsWindowFrame

[out] Pointer to a IVsWindowFrame interface that the IDE can use for creating a Web browser instance.

Returns

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

Remarks

COM Signature

From vsbrowse.idl:

[C++]

HRESULT IVsFavoritesProvider::Navigate(  
   [in] LPCOLESTR lpszURL,   
   [in] DWORD dwFlags,   
   [out] IVsWindowFrame** ppFrame  
);  

Applies to