net9.0
namespace Microsoft.AspNetCore.Components.Routing
{
    public class Router : IComponent, IHandleAfterRender, IDisposable
    {
        [Obsolete("This property is obsolete and configuring it has not effect.")]
        [Parameter]
        public bool PreferExactMatches { get; set; }
    }
}
.NET
6.07.08.09.0
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Components , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

Obsolete This property is obsolete and configuring it has not effect.
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API