Navigate Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

ItemOperations.Navigate Method

Goes to the given URL.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

Window Navigate (
	[OptionalAttribute] [InAttribute] string URL,
	[OptionalAttribute] [InAttribute] vsNavigateOptions Options
Window Navigate (
	/** @attribute InAttribute() */ /** @attribute OptionalAttribute() */ String URL, 
	/** @attribute InAttribute() */ /** @attribute OptionalAttribute() */ vsNavigateOptions Options
function Navigate (
	URL : String, 
	Options : vsNavigateOptions
) : Window



Optional. URL of the file to open. If URL is not specified, the default home page is opened. The default value of URL is "".


Optional. A vsNavigateOptions constant that determines whether the browsed content displays in an external Web browser window or in a new window.

Return Value

A Window object.

Sub NavigateExample()
   Dim ItemOp As ItemOperations
   ItemOp = DTE.ItemOperations
End Sub
© 2015 Microsoft