Bagikan melalui


Routing.RegisterRoute Metode

Definisi

Overload

RegisterRoute(String, RouteFactory)
RegisterRoute(String, Type)

RegisterRoute(String, RouteFactory)

public:
 static void RegisterRoute(System::String ^ route, Microsoft::Maui::Controls::RouteFactory ^ factory);
public static void RegisterRoute (string route, Microsoft.Maui.Controls.RouteFactory factory);
static member RegisterRoute : string * Microsoft.Maui.Controls.RouteFactory -> unit
Public Shared Sub RegisterRoute (route As String, factory As RouteFactory)

Parameter

route
String
factory
RouteFactory

Berlaku untuk

RegisterRoute(String, Type)

public:
 static void RegisterRoute(System::String ^ route, Type ^ type);
public static void RegisterRoute (string route, Type type);
static member RegisterRoute : string * Type -> unit
Public Shared Sub RegisterRoute (route As String, type As Type)

Parameter

route
String
type
Type

Berlaku untuk