This topic has not yet been rated - Rate this topic

ItemOperations.Navigate Method

Goes to the given URL.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
Window Navigate(
	string URL,
	vsNavigateOptions Options
)

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
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.