SupplyParameterFromQueryAttribute Class

Definition

Indicates that routing components may supply a value for the parameter from the current URL querystring. They may also supply further values if the URL querystring changes.

C#
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SupplyParameterFromQueryAttribute : Attribute
C#
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SupplyParameterFromQueryAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
Inheritance
SupplyParameterFromQueryAttribute
Inheritance
SupplyParameterFromQueryAttribute
Attributes

Constructors

Properties

Name

Gets or sets the name of the querystring parameter. If null, the querystring parameter is assumed to have the same name as the associated property.

Applies to

Product Versions
ASP.NET Core 6.0, 7.0, 8.0, 9.0