Udostępnij za pośrednictwem


AssociatedMetadataProvider.GetMetadataForProperties Method

Returns a list of properties for the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overrides Function GetMetadataForProperties ( _
    container As Object, _
    containerType As Type _
) As IEnumerable(Of ModelMetadata)
public override IEnumerable<ModelMetadata> GetMetadataForProperties(
    Object container,
    Type containerType
)
public:
virtual IEnumerable<ModelMetadata^>^ GetMetadataForProperties(
    Object^ container, 
    Type^ containerType
) override

Parameters

  • containerType
    Type: System.Type
    The type of the container.

Return Value

Type: System.Collections.Generic.IEnumerable<ModelMetadata>
A list of properties for the model.

See Also

Reference

AssociatedMetadataProvider Class

System.Web.Mvc Namespace