共用方式為


IModelBinderFactory.CreateBinder(ModelBinderFactoryContext) 方法

定義

建立新的 IModelBinder

public:
 Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ CreateBinder(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBinderFactoryContext ^ context);
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context);
abstract member CreateBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
Public Function CreateBinder (context As ModelBinderFactoryContext) As IModelBinder

參數

傳回

IModelBinder 執行個體。

適用於