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)

public Type ContainerType { 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.

Show:
© 2015 Microsoft