Partager via


CachedModelMetadata<TPrototypeCache>.IsComplexType Property

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

Namespace:  System.Web.Http.Metadata.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property IsComplexType As Boolean 
    Get
'Usage
Dim instance As CachedModelMetadata 
Dim value As Boolean 

value = instance.IsComplexType
public override sealed bool IsComplexType { get; }
public:
virtual property bool IsComplexType {
    bool get () override sealed;
}
abstract IsComplexType : bool 
override IsComplexType : bool
override final function get IsComplexType () : boolean

Property Value

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

Remarks

Internally, this method calls the ComputeIsComplexType method.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Http.Metadata.Providers Namespace