DefaultModelMetadata.ValidationMetadata 属性

定义

ValidationMetadata获取当前实例的 。

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

属性值

注解

如有必要,访问此属性将填充 ValidationMetadata

适用于