Export (0) Print
Expand All

ModelMetadata.IsComplexType Property

.NET Framework 4

Gets or sets a value that indicates whether the model is a complex type.

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

public virtual bool IsComplexType { get; }

Property Value

Type: System.Boolean
A value that indicates whether the model is considered a complex type by the MVC framework.

If the model is complex, the complex-object template will be used. .NET Framework built in types are not complex types.

Community Additions

ADD
Show:
© 2014 Microsoft