共用方式為


CachedDataAnnotationsModelMetadata.ComputeDescription 方法

定義

取得模型的描述。如果快取值,則會傳回現金值;否則會從模型中繼資料擷取值,並儲存在快取中。

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

傳回

模型的描述。

適用於