TypeCoercionProvider.CanPotentiallyCoerceTo(FormulaType, FormulaType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Can convert value to source format to target or not.
public static bool CanPotentiallyCoerceTo(this Microsoft.PowerFx.Types.FormulaType source, Microsoft.PowerFx.Types.FormulaType target);
static member CanPotentiallyCoerceTo : Microsoft.PowerFx.Types.FormulaType * Microsoft.PowerFx.Types.FormulaType -> bool
<Extension()>
Public Function CanPotentiallyCoerceTo (source As FormulaType, target As FormulaType) As Boolean
Parameters
- source
- FormulaType
Source type format.
- target
- FormulaType
Target type format.
Returns
True/False based on whether function can convert from source type to target type.