共用方式為


IModelBinderProvider.GetBinder(ModelBinderProviderContext) 方法

定義

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

參數

傳回

IModelBinder

適用於