Export (0) Print
Expand All

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)

function get ContainerType () : Type

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 a null reference (Nothing in Visual Basic).

Show:
© 2014 Microsoft