ItemOperations::Navigate Method (String^, vsNavigateOptions)
Visual Studio 2015
Goes to the given URL.
Assembly: EnvDTE (in EnvDTE.dll)
Window^ Navigate(
String^ URL = "",
vsNavigateOptions Options = vsNavigateOptions::vsNavigateOptionsDefault
)
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.
Sub NavigateExample(ByVal dte As DTE) Dim ItemOp As ItemOperations ItemOp = dte.ItemOperations ItemOp.Navigate("http://www.microsoft.com") End Sub
Show: