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.
dwFlags
Type: System.UInt32[in] Reserved for future use.
ppFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame%[out] Pointer to a IVsWindowFrame interface that the IDE can use for creating a Web browser instance.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.