Freigeben über


ModelMetadata.Properties Property

Gets a collection of model metadata objects that describe the properties of the model.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Properties As IEnumerable(Of ModelMetadata)
    Get
public virtual IEnumerable<ModelMetadata> Properties { get; }
public:
virtual property IEnumerable<ModelMetadata^>^ Properties {
    IEnumerable<ModelMetadata^>^ get ();
}

Property Value

Type: System.Collections.Generic.IEnumerable<ModelMetadata>
A collection of model metadata objects that describe the properties of the model.

See Also

Reference

ModelMetadata Class

System.Web.Mvc Namespace