共用方式為


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)

屬性值

適用於