共用方式為


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)

參數

適用於