CachedDataAnnotationsModelMetadata.ComputeTemplateHint 方法

定义

获取建议用于此模型的模板的提示。如果缓存该值,则返回已兑现的值;否则,该值将从模型元数据中检索并存储在缓存中。

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

返回

一个提示,建议要为此模型使用哪个模板。

适用于