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

属性值

适用于