共用方式為


ModelBindingContext.ModelMetadata 屬性

定義

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

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

屬性值

適用於