CachedDataAnnotationsModelMetadata.ComputeDisplayFormatString 方法

定义

获取模型的显示格式字符串。如果缓存该值,则返回已兑现的值;否则,该值将从模型元数据中检索并存储在缓存中。

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

返回

模型的显示格式字符串。

适用于