ModelValidationContextBase.ModelMetadata 属性

定义

获取 ModelMetadata

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ ModelMetadata { Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata { get; }
member this.ModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public ReadOnly Property ModelMetadata As ModelMetadata

属性值

适用于