ModelValidatorProviderContext.ModelMetadata 属性

定义

获取 ModelMetadata

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

属性值

适用于