共用方式為


CachedDataAnnotationsModelMetadata.ComputeTemplateHint 方法

定義

取得提示,指出要用於此模型的範本。如果快取值,則會傳回現金值;否則會從模型中繼資料擷取值,並儲存在快取中。

protected override string ComputeTemplateHint();
override this.ComputeTemplateHint : unit -> string
Protected Overrides Function ComputeTemplateHint () As String

傳回

提示,建議要用於此模型的範本。

適用於