Aracılığıyla paylaş


ModelMetadata Oluşturucu

Tanım

ModelMetadata sınıfının yeni bir örneğini başlatır.

public ModelMetadata(System.Web.Mvc.ModelMetadataProvider provider, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName);
new System.Web.Mvc.ModelMetadata : System.Web.Mvc.ModelMetadataProvider * Type * Func<obj> * Type * string -> System.Web.Mvc.ModelMetadata
Public Sub New (provider As ModelMetadataProvider, containerType As Type, modelAccessor As Func(Of Object), modelType As Type, propertyName As String)

Parametreler

provider
ModelMetadataProvider

Sağlayıcı.

containerType
Type

Kapsayıcının türü.

modelAccessor
Func<Object>

Model erişimcisi.

modelType
Type

Modelin türü.

propertyName
String

Modelin adı.

Şunlara uygulanır