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)

'Declaration
Public ReadOnly Property ContainerType As Type 
	Get
'Usage
Dim instance As ModelMetadata 
Dim value As Type 

value = instance.ContainerType

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 Nothing.

Show:
© 2014 Microsoft