ValidationVisitor.Metadata 属性

定义

模型元数据。

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

属性值

适用于