Partager via


VsShellUtilities.OpenBrowser Method (String)

Open the user's default browser on the given URL. The default browser is set in the Browse With UI. The internal browser is not used if the shell is in a modal state.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Sub OpenBrowser ( _
    page As String _
)
public static void OpenBrowser(
    string page
)
public:
static void OpenBrowser(
    String^ page
)
static member OpenBrowser : 
        page:string -> unit
public static function OpenBrowser(
    page : String
)

Parameters

  • page
    Type: String

    The URL to open.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

OpenBrowser Overload

Microsoft.VisualStudio.Shell Namespace