Share via


CachedModelMetadata<TPrototypeCache>.ComputeIsReadOnly Method

Gets a value that indicates whether the model to be computed is read-only.

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

Syntax

'Declaration
Protected Overridable Function ComputeIsReadOnly As Boolean
'Usage
Dim returnValue As Boolean

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

Return Value

Type: System.Boolean
true if the model to be computed is read-only; otherwise, false.

Remarks

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

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Http.Metadata.Providers Namespace