ParameterAttribute Class

Definition

Denotes the target member as a component parameter.

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

Constructors

Properties

CaptureUnmatchedValues

Gets or sets a value that determines whether the parameter will capture values that don't match any other parameter.

Applies to

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