Skip to content

TableContentSetMethodBindingConverter.GetAffinityForObjects(Type?, Type?) method

Defined in

Type: TableContentSetMethodBindingConverter Namespace: ReactiveUI.Reactive.Winforms Assembly: ReactiveUI.Winforms.Reactive.dll

Applies to

net10.0-windows7.0, net10.0-windows10.0.19041, net9.0-windows7.0, net9.0-windows10.0.19041, net8.0-windows7.0, net8.0-windows10.0.19041, net462, net481

public int GetAffinityForObjects(Type? fromType, Type? toType)

View source

Inherited documentation

These docs were inherited from ISetMethodBindingConverter. The member doesn't override them on this type.

Summary: Returns this converter's priority for writing a value of one type to a target of another.

Parameters

NameTypeDescription
fromTypeType?The type of the value being written; may be null.
toTypeType?The type of the target being written to; may be null.

Returns: int -- A positive value when PerformSet applies; zero or less excludes the converter. The registry picks the highest value and, on a tie, the earliest registered converter.