CachedDataAnnotationsModelMetadata.ComputeDisplayFormatString 方法

定義

取得模型的顯示格式字串。如果快取值,則會傳回現金值;否則會從模型中繼資料擷取值,並儲存在快取中。

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

傳回

模型的顯示格式字串。

適用於