CompositeBindingSource.CanAcceptDataFrom(BindingSource) 方法

定义

获取一个值, BindingSource 该值指示 是否可以接受来自 bindingSource的数据。

public:
 override bool CanAcceptDataFrom(Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ bindingSource);
public override bool CanAcceptDataFrom (Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource);
override this.CanAcceptDataFrom : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource -> bool
Public Overrides Function CanAcceptDataFrom (bindingSource As BindingSource) As Boolean

参数

bindingSource
BindingSource

BindingSource 视为输入的 。

返回

True 如果源兼容,则为 ;否则为 false

适用于