Routing.GetOrCreateContent(String, IServiceProvider) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.