SystemTextJsonValidationMetadataProvider.CreateValidationMetadata 方法

定义

获取 的属性的值 ValidationMetadata

public void CreateValidationMetadata (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context);
abstract member CreateValidationMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext -> unit
override this.CreateValidationMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext -> unit
Public Sub CreateValidationMetadata (context As ValidationMetadataProviderContext)

参数

实现

适用于