IBrowser.OpenAsync(Uri, BrowserLaunchOptions) 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.
Open the browser to specified URI.
public:
System::Threading::Tasks::Task<bool> ^ OpenAsync(Uri ^ uri, Microsoft::Maui::ApplicationModel::BrowserLaunchOptions ^ options);
public System.Threading.Tasks.Task<bool> OpenAsync(Uri uri, Microsoft.Maui.ApplicationModel.BrowserLaunchOptions options);
abstract member OpenAsync : Uri * Microsoft.Maui.ApplicationModel.BrowserLaunchOptions -> System.Threading.Tasks.Task<bool>
Public Function OpenAsync (uri As Uri, options As BrowserLaunchOptions) As Task(Of Boolean)
Parameters
- uri
- Uri
URI to open.
- options
- BrowserLaunchOptions
Launch options for the browser.
Returns
Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.