共用方式為


SuppressChildValidationMetadataProvider.CreateValidationMetadata 方法

定義

取得 的屬性 ValidationMetadata 值。

public:
 virtual 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
override this.CreateValidationMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext -> unit
Public Sub CreateValidationMetadata (context As ValidationMetadataProviderContext)

參數

實作

適用於