Export (0) Print
Expand All

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

Parameters

URL

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

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
   ItemOp.Navigate("http://www.microsoft.com")
End Sub

Community Additions

ADD
Show:
© 2014 Microsoft