Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Navigates to the specified URL.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Navigate ( _
lpszURL As String, _
dwNaviageFlags As UInteger, _
<OutAttribute> ByRef ppFrame As IVsWindowFrame _
) As Integer
int Navigate(
string lpszURL,
uint dwNaviageFlags,
out IVsWindowFrame ppFrame
)
int Navigate(
[InAttribute] String^ lpszURL,
[InAttribute] unsigned int dwNaviageFlags,
[OutAttribute] IVsWindowFrame^% ppFrame
)
abstract Navigate :
lpszURL:string *
dwNaviageFlags:uint32 *
ppFrame:IVsWindowFrame byref -> int
function Navigate(
lpszURL : String,
dwNaviageFlags : uint,
ppFrame : IVsWindowFrame
) : int
Parameters
lpszURL
Type: String[in] String containing the URL to navigate to. You can navigate to sites using Web and Visual Studio internal protocols.
dwNaviageFlags
Type: UInt32[in] Bit flags setting navigation options. Constructed using values from the __VSWBNAVIGATEFLAGS enumeration.
ppFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame%[out] Pointer to the IVsWindowFrame interface of the browser window.
Return Value
Type: Int32
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
);
.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.