Share via


CachedDataAnnotationsModelMetadata.ComputeShowForEdit 方法

定義

取得或設定值,這個值表示模型是否應該顯示在可編輯的檢視中。如果快取值,則會傳回現金值;否則,值會從模型中繼資料擷取並儲存在快取中。

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

傳回

傳回 Boolean

適用於