共用方式為


NewtonsoftJsonValidationMetadataProvider.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)

參數

實作

適用於