VsShellUtilities.OpenBrowser Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenBrowser(String, UInt32) |
Open a browser on the given URL, with the given flags. |
OpenBrowser(String) |
Open the user's default browser on the given URL. The default browser is set in the "Browse With..." UI The internal browser will not be used if the shell is in a modal state. |
OpenBrowser(String, UInt32)
Open a browser on the given URL, with the given flags.
public:
static void OpenBrowser(System::String ^ page, System::UInt32 flags);
public:
static void OpenBrowser(Platform::String ^ page, unsigned int flags);
static void OpenBrowser(std::wstring const & page, unsigned int flags);
public static void OpenBrowser (string page, uint flags);
static member OpenBrowser : string * uint32 -> unit
Public Shared Sub OpenBrowser (page As String, flags As UInteger)
Public Sub OpenBrowser (page As String, flags As UInteger)
Parameters
- page
- String
The URL to open.
- flags
- UInt32
The __VSOSPFLAGS values to pass to IVsUIShellOpenDocument.OpenStandardPreviewer.
Applies to
OpenBrowser(String)
Open the user's default browser on the given URL. The default browser is set in the "Browse With..." UI The internal browser will not be used if the shell is in a modal state.
public:
static void OpenBrowser(System::String ^ page);
public:
static void OpenBrowser(Platform::String ^ page);
static void OpenBrowser(std::wstring const & page);
public static void OpenBrowser (string page);
static member OpenBrowser : string -> unit
Public Shared Sub OpenBrowser (page As String)
Public Sub OpenBrowser (page As String)
Parameters
- page
- String
The URL to open.