CachedDataAnnotationsModelMetadata.ComputeIsReadOnly Method
Retrieves a value that indicates whether the model is read-only.
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overrides Function ComputeIsReadOnly As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.ComputeIsReadOnly()
protected override bool ComputeIsReadOnly()
protected:
virtual bool ComputeIsReadOnly() override
abstract ComputeIsReadOnly : unit -> bool
override ComputeIsReadOnly : unit -> bool
protected override function ComputeIsReadOnly() : boolean
Return Value
Type: System.Boolean
true if the model is read-only; otherwise, false.