CachedDataAnnotationsModelMetadata.ComputeNullDisplayText 方法

定义

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

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

返回

要为 null 值显示的字符串。

适用于