共用方式為


CachedDataAnnotationsModelMetadata.ComputeShortDisplayName 方法

定義

取得簡短的顯示名稱。如果快取值,則會傳回現金值;否則,值會從模型中繼資料擷取並儲存在快取中。

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

傳回

簡短顯示名稱。

適用於