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

属性值

适用于