Export (0) Print
Expand All

ModelMetadata Constructor

Initializes a new instance of the ModelMetadata class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

new : 
        provider:ModelMetadataProvider * 
        containerType:Type * 
        modelAccessor:Func<Object> * 
        modelType:Type * 
        propertyName:string -> ModelMetadata

Parameters

provider
Type: System.Web.Mvc.ModelMetadataProvider
The provider.
containerType
Type: System.Type
The type of the container.
modelAccessor
Type: System.Func(Object)
The model accessor.
modelType
Type: System.Type
The type of the model.
propertyName
Type: System.String
The name of the model.
Show:
© 2014 Microsoft