Aracılığıyla paylaş


DefaultModelMetadataProvider.GetMetadataForType(Type) Yöntem

Tanım

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

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

Parametreler

modelType
Type

Type.

Döndürülenler

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

Uygulamalar

Şunlara uygulanır