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

属性值

适用于