Share via


ModelMetadataProvider.GetMetadataForProperties(Type) Method

Definition

Supplies metadata describing the properties of a Type.

public:
 abstract System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(Type ^ modelType);
public abstract System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> GetMetadataForProperties (Type modelType);
abstract member GetMetadataForProperties : Type -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
Public MustOverride Function GetMetadataForProperties (modelType As Type) As IEnumerable(Of ModelMetadata)

Parameters

modelType
Type

The Type.

Returns

A set of ModelMetadata instances describing properties of the Type.

Implements

Applies to