CachedAssociatedMetadataProvider(Of TModelMetadata).CreateMetadataPrototype Method
Creates a metadata prototype.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected MustOverride Function CreateMetadataPrototype ( _ attributes As IEnumerable(Of Attribute), _ containerType As Type, _ modelType As Type, _ propertyName As String _ ) As TModelMetadata 'Usage Dim attributes As IEnumerable(Of Attribute) Dim containerType As Type Dim modelType As Type Dim propertyName As String Dim returnValue As TModelMetadata returnValue = Me.CreateMetadataPrototype(attributes, _ containerType, modelType, propertyName)
Parameters
- attributes
- Type: System.Collections.Generic.IEnumerable(Of Attribute)
The attributes.
- containerType
- Type: System.Type
The container type.
- modelType
- Type: System.Type
The model type.
- propertyName
- Type: System.String
The property name.
Show: