Navigate Method
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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
© 2016 Microsoft