Condividi tramite


ModelMetadataProvider.GetMetadataForProperties(Type) Metodo

Definizione

Fornisce i metadati che descrivono le proprietà di un oggetto 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)

Parametri

modelType
Type

Oggetto Type.

Restituisce

Set di ModelMetadata istanze che descrivono le proprietà dell'oggetto Type.

Implementazioni

Si applica a