CachedModelMetadata<TPrototypeCache>.ComputeDisplayFormatString 方法

定义

此方法是受保护的方法,因此不能直接调用。 此方法被设计为在派生类(如 ) CachedDataAnnotationsModelMetadata中重写。获取或设置模型的显示格式字符串。

protected virtual string ComputeDisplayFormatString ();
abstract member ComputeDisplayFormatString : unit -> string
override this.ComputeDisplayFormatString : unit -> string
Protected Overridable Function ComputeDisplayFormatString () As String

返回

模型的显示格式字符串。

适用于