共用方式為


ModelValidationContextBase.MetadataProvider 屬性

定義

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ MetadataProvider { Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider MetadataProvider { get; }
member this.MetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider
Public ReadOnly Property MetadataProvider As IModelMetadataProvider

屬性值

適用於