共用方式為


ValidationStateEntry.Metadata 屬性

定義

取得或設定 ModelMetadata 與專案相關聯的 。

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

屬性值

適用於