Share via


IVsFavoritesProvider.Navigate Method

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

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

Syntax

'Declaration
Function Navigate ( _
    lpszURL As String, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppFrame As IVsWindowFrame _
) As Integer
int Navigate(
    string lpszURL,
    uint dwFlags,
    out IVsWindowFrame ppFrame
)
int Navigate(
    [InAttribute] String^ lpszURL, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] IVsWindowFrame^% ppFrame
)
abstract Navigate : 
        lpszURL:string * 
        dwFlags:uint32 * 
        ppFrame:IVsWindowFrame byref -> int
function Navigate(
    lpszURL : String, 
    dwFlags : uint, 
    ppFrame : IVsWindowFrame
) : int

Parameters

  • lpszURL
    Type: System.String

    [in] Pointer to a string containing the URL.

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsFavoritesProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace