EmptyModelMetadataProvider::CreateMetadata Method
Visual Studio 2010
Creates a new instance of the ModelMetadata class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected: virtual ModelMetadata^ CreateMetadata( IEnumerable<Attribute^>^ attributes, Type^ containerType, Func<Object^>^ modelAccessor, Type^ modelType, String^ propertyName ) override
Parameters
- attributes
- Type: System.Collections.Generic::IEnumerable<Attribute>
The attributes.
- 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.
Community Additions
ADD
Show: