IValidationMetadataProvider.CreateValidationMetadata 方法

定义

获取 的属性 ValidationMetadata的值。

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

参数

适用于