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.
Goes to the given URL.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Function Navigate ( _
URL As String, _
Options As vsNavigateOptions _
) As Window
Window Navigate(
string URL,
vsNavigateOptions Options
)
Window^ Navigate(
[InAttribute] String^ URL,
[InAttribute] vsNavigateOptions Options
)
abstract Navigate :
URL:string *
Options:vsNavigateOptions -> Window
function Navigate(
URL : String,
Options : vsNavigateOptions
) : Window
Parameters
- URL
Type: System.String
Optional. URL of the file to open. If URL is not specified, the default home page is opened. The default value of URL is "".
- Options
Type: EnvDTE.vsNavigateOptions
Optional. A vsNavigateOptions constant that determines whether the browsed content displays in an external Web browser window or in a new window.
Return Value
Type: EnvDTE.Window
A Window object.
Examples
Sub NavigateExample(ByVal dte As DTE)
Dim ItemOp As ItemOperations
ItemOp = dte.ItemOperations
ItemOp.Navigate("https://www.microsoft.com")
End Sub
.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.