Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ContainerType Property

ModelMetadata::ContainerType Property


Gets or sets the type of the container for the model.

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

property Type^ ContainerType {
	Type^ get();

Property Value

Type: System::Type^

The type of the container for the model.

If the model does not have a container, this value of this property is null.

Return to top
© 2015 Microsoft