共用方式為


RouteFactory.GetOrCreate Method

Definition

Overloads

GetOrCreate()
GetOrCreate(IServiceProvider)

GetOrCreate()

Source:
RouteFactory.cs
Source:
RouteFactory.cs
public:
 abstract Microsoft::Maui::Controls::Element ^ GetOrCreate();
public abstract Microsoft.Maui.Controls.Element GetOrCreate ();
abstract member GetOrCreate : unit -> Microsoft.Maui.Controls.Element
Public MustOverride Function GetOrCreate () As Element

Returns

Applies to

GetOrCreate(IServiceProvider)

Source:
RouteFactory.cs
Source:
RouteFactory.cs
public:
 abstract Microsoft::Maui::Controls::Element ^ GetOrCreate(IServiceProvider ^ services);
public abstract Microsoft.Maui.Controls.Element GetOrCreate (IServiceProvider services);
abstract member GetOrCreate : IServiceProvider -> Microsoft.Maui.Controls.Element
Public MustOverride Function GetOrCreate (services As IServiceProvider) As Element

Parameters

services
IServiceProvider

Returns

Applies to