Partager via


ModelMetadata.Properties Property

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

Namespace:  System.Web.Http.Metadata
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Properties As IEnumerable(Of ModelMetadata)
    Get
'Usage
Dim instance As ModelMetadata
Dim value As IEnumerable(Of ModelMetadata)

value = instance.Properties
public virtual IEnumerable<ModelMetadata> Properties { get; }
public:
virtual property IEnumerable<ModelMetadata^>^ Properties {
    IEnumerable<ModelMetadata^>^ get ();
}
abstract Properties : IEnumerable<ModelMetadata>
override Properties : IEnumerable<ModelMetadata>
function get Properties () : IEnumerable<ModelMetadata>

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.Http.Metadata Namespace