CachedAssociatedMetadataProvider(TModelMetadata).CreateMetadataPrototype Method

Creates a metadata prototype.

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

abstract CreateMetadataPrototype : 
        attributes:IEnumerable<Attribute> * 
        containerType:Type * 
        modelType:Type * 
        propertyName:string -> 'TModelMetadata 

Parameters

attributes
Type: System.Collections.Generic.IEnumerable(Attribute)

The attributes.

containerType
Type: System.Type

The container type.

modelType
Type: System.Type

The model type.

propertyName
Type: System.String

The property name.

Return Value

Type: TModelMetadata
A metadata prototype.
Show: