When overridden in a derived class, creates the model metadata for the property.
Namespace:  System.Web.Http.Metadata.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)
Syntax
'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)
protected abstract TModelMetadata CreateMetadataPrototype(
    IEnumerable<Attribute> attributes,
    Type containerType,
    Type modelType,
    string propertyName
)
protected:
virtual TModelMetadata CreateMetadataPrototype(
    IEnumerable<Attribute^>^ attributes, 
    Type^ containerType, 
    Type^ modelType, 
    String^ propertyName
) abstract
abstract CreateMetadataPrototype : 
        attributes:IEnumerable<Attribute> * 
        containerType:Type * 
        modelType:Type * 
        propertyName:string -> 'TModelMetadata 
protected abstract function CreateMetadataPrototype(
    attributes : IEnumerable<Attribute>, 
    containerType : Type, 
    modelType : Type, 
    propertyName : String
) : TModelMetadata
Parameters
- attributes 
 Type: System.Collections.Generic.IEnumerable<Attribute>- The set of attributes. 
- containerType 
 Type: System.Type- The type of the container. 
- modelType 
 Type: System.Type- The type of the model. 
- propertyName 
 Type: System.String- The name of the property. 
Return Value
Type: TModelMetadata
The model metadata for the property.