Partager via


CachedModelMetadata<TPrototypeCache>.ComputeIsComplexType Method

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
Protected Overridable Function ComputeIsComplexType As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.ComputeIsComplexType()
protected virtual bool ComputeIsComplexType()
protected:
virtual bool ComputeIsComplexType()
abstract ComputeIsComplexType : unit -> bool  
override ComputeIsComplexType : unit -> bool
protected function ComputeIsComplexType() : boolean

Return Value

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

Remarks

The IsComplexType property calls this method to compute the value of the property.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Http.Metadata.Providers Namespace