Condividi tramite


DefaultModelMetadataProvider.GetMetadataForType(Type) Metodo

Definizione

Fornisce metadati che descrivono un Typeoggetto .

public:
 virtual Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ GetMetadataForType(Type ^ modelType);
public:
 override Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ GetMetadataForType(Type ^ modelType);
public virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForType (Type modelType);
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForType (Type modelType);
abstract member GetMetadataForType : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
override this.GetMetadataForType : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
override this.GetMetadataForType : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public Overridable Function GetMetadataForType (modelType As Type) As ModelMetadata
Public Overrides Function GetMetadataForType (modelType As Type) As ModelMetadata

Parametri

modelType
Type

Oggetto Type.

Restituisce

ModelMetadata Istanza che descrive .Type

Implementazioni

Si applica a