ItemOperations.Navigate Method

Goes to the given URL.

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

Syntax

'Declaration
Function Navigate ( _
    URL As String, _
    Options As vsNavigateOptions _
) As Window
Window Navigate(
    string URL,
    vsNavigateOptions Options
)
Window^ Navigate(
    [InAttribute] String^ URL, 
    [InAttribute] vsNavigateOptions Options
)
abstract Navigate : 
        URL:string * 
        Options:vsNavigateOptions -> Window
function Navigate(
    URL : String, 
    Options : vsNavigateOptions
) : Window

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 "".

Return Value

Type: EnvDTE.Window
A Window object.

Examples

Sub NavigateExample(ByVal dte As DTE)
   Dim ItemOp As ItemOperations
   ItemOp = dte.ItemOperations
   ItemOp.Navigate("https://www.microsoft.com")
End Sub

.NET Framework Security

See Also

Reference

ItemOperations Interface

EnvDTE Namespace