Share via


Routing.GetOrCreateContent(String, IServiceProvider) Method

Definition

public static Microsoft.Maui.Controls.Element GetOrCreateContent (string route, IServiceProvider services = default);
static member GetOrCreateContent : string * IServiceProvider -> Microsoft.Maui.Controls.Element
Public Shared Function GetOrCreateContent (route As String, Optional services As IServiceProvider = Nothing) As Element

Parameters

route
String
services
IServiceProvider

Returns

Applies to