ItemOperations::Navigate Method (String^, vsNavigateOptions)

 

Goes to the given URL.

Namespace:   EnvDTE
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.

Return Value

Type: EnvDTE::Window^

A Window object.

Sub NavigateExample(ByVal dte As DTE)
   Dim ItemOp As ItemOperations
   ItemOp = dte.ItemOperations
   ItemOp.Navigate("http://www.microsoft.com")
End Sub
Return to top
Show: