DefaultModelMetadata.BoundConstructorParameters 属性

定义

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

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)

属性值

IReadOnlyList<ModelMetadata>

适用于