ModelMetadataProvider.GetMetadataForProperties(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
A set of ModelMetadata instances describing properties of the Type.