NavigationManager.Uri Property

Definition

Gets or sets the current URI. The Uri is always represented as an absolute URI in string form.

C#
public string Uri { get; protected set; }

Property Value

Remarks

Setting Uri will not trigger the LocationChanged event.

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0