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: StringThe URL to open.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.