Dela via


CompositeBindingSource.CanAcceptDataFrom(BindingSource) Method

Definition

Gets a value indicating whether or not the BindingSource can accept data from 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

Parameters

bindingSource
BindingSource

The BindingSource to consider as input.

Returns

True if the source is compatible, otherwise false.

Applies to