AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) 方法

定义

返回模型的属性列表。

public override System.Collections.Generic.IEnumerable<System.Web.Mvc.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
override this.GetMetadataForProperties : obj * Type -> seq<System.Web.Mvc.ModelMetadata>
Public Overrides Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)

参数

container
Object

模型容器。

containerType
Type

容器的类型。

返回

模型的属性列表。

适用于