ModelMetadata.BoundConstructorParameters Property

Definition

Gets the collection of ModelMetadata instances for parameters on a BoundConstructor. This is only available when MetadataKind is Constructor.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>? BoundConstructorParameters { get; }

Property Value

Applies to

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