共用方式為


DefaultModelBindingContext.ModelMetadata 屬性

定義

取得或設定與此內容相關聯的模型中繼資料。

public:
 virtual property Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ ModelMetadata { Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ value); };
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata { get; set; }
member this.ModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata with get, set
Public Overrides Property ModelMetadata As ModelMetadata

屬性值

適用於