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