CachedDataAnnotationsModelMetadata.ComputeIsReadOnly 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,這個值表示模型是否為唯讀。如果快取值,則會傳回現金值;否則,值會從模型中繼資料擷取並儲存在快取中。
protected override bool ComputeIsReadOnly();
override this.ComputeIsReadOnly : unit -> bool
Protected Overrides Function ComputeIsReadOnly () As Boolean
傳回
表示模型是否為唯讀的值。