DefaultModelMetadata.BoundConstructorParameters 属性

定义

获取 上BoundConstructor参数的ModelMetadata实例集合。 仅当 为 ConstructorMetadataKind,此功能才可用。

public:
 virtual property System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ BoundConstructorParameters { System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ get(); };
public override System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> BoundConstructorParameters { get; }
public override System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>? BoundConstructorParameters { get; }
member this.BoundConstructorParameters : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
Public Overrides ReadOnly Property BoundConstructorParameters As IReadOnlyList(Of ModelMetadata)

属性值

适用于