Skip to content

TableContentSetMethodBindingConverter.GetAffinityForObjects(Type?, Type?) method

Defined in

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

Applies to

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.