CachedDataAnnotationsModelMetadata.ComputeIsReadOnly Method

Definition

Gets a value that indicates whether the model is read-only.If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.

protected override bool ComputeIsReadOnly ();
override this.ComputeIsReadOnly : unit -> bool
Protected Overrides Function ComputeIsReadOnly () As Boolean

Returns

A value that indicates whether the model is read-only.

Applies to