CachedModelMetadata<TPrototypeCache>.ComputeEditFormatString 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這個方法受到保護,因此無法直接呼叫。 這個方法的設計是要在衍生類別中覆寫,例如 CachedDataAnnotationsModelMetadata 。取得或設定模型的編輯格式字串。
protected virtual string ComputeEditFormatString();
abstract member ComputeEditFormatString : unit -> string
override this.ComputeEditFormatString : unit -> string
Protected Overridable Function ComputeEditFormatString () As String
傳回
模型的編輯格式字串。