Aracılığıyla paylaş


IModelMetadataProvider.GetMetadataForType(Type) Yöntem

Tanım

Bir öğesini açıklayan Typemeta veriler sağlar.

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

Parametreler

modelType
Type

Type.

Döndürülenler

ModelMetadata öğesini açıklayan Typebir örnek.

Şunlara uygulanır