CachedDataAnnotationsModelMetadata.ComputeTemplateHint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取建议用于此模型的模板的提示。如果缓存该值,则返回已兑现的值;否则,该值将从模型元数据中检索并存储在缓存中。
protected override string ComputeTemplateHint ();
override this.ComputeTemplateHint : unit -> string
Protected Overrides Function ComputeTemplateHint () As String
返回
一个提示,建议要为此模型使用哪个模板。