Dela via


DefaultModelMetadata.GetMetadataForProperties(Type) Method

Definition

Supplies metadata describing the properties of a Type.

public:
 override System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(Type ^ modelType);
public override System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> GetMetadataForProperties (Type modelType);
override this.GetMetadataForProperties : Type -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
Public Overrides 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.

Applies to