共用方式為


ModelPropertyCollection(IEnumerable<ModelMetadata>) 建構函式

定義

建立新的 ModelPropertyCollection

public:
 ModelPropertyCollection(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ properties);
public ModelPropertyCollection (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> properties);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection : seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection
Public Sub New (properties As IEnumerable(Of ModelMetadata))

參數

properties
IEnumerable<ModelMetadata>

屬性。

適用於