共用方式為


ControllerBase.MetadataProvider 屬性

定義

取得或設定 IModelMetadataProvider

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ MetadataProvider { Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ value); };
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider MetadataProvider { get; set; }
member this.MetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider with get, set
Public Property MetadataProvider As IModelMetadataProvider

屬性值

適用於