Routing.SetRoute(Element, String) Method

Definition

Sets the route string for the specified Element.

public:
 static void SetRoute(Microsoft::Maui::Controls::Element ^ obj, System::String ^ value);
public static void SetRoute(Microsoft.Maui.Controls.Element obj, string value);
static member SetRoute : Microsoft.Maui.Controls.Element * string -> unit
Public Shared Sub SetRoute (obj As Element, value As String)

Parameters

obj
Element

The element to set the route on.

value
String

The route string to set.

Applies to