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>

属性。

适用于