Back to Devexpress

XPDictionary.RegisterValueConverter(ValueConverter, Type) Method

xpo-devexpress-dot-xpo-dot-metadata-dot-xpdictionary-dot-registervalueconverter-x28-devexpress-dot-xpo-dot-metadata-dot-valueconverter-system-dot-type-x29.md

latest1.7 KB
Original Source

XPDictionary.RegisterValueConverter(ValueConverter, Type) Method

Registers a value-and-type convertor for the specified member type.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public void RegisterValueConverter(
    ValueConverter converter,
    Type memberType
)
vb
Public Sub RegisterValueConverter(
    converter As ValueConverter,
    memberType As Type
)

Parameters

NameTypeDescription
converterValueConverter

A ValueConverter descendant which represents the value-and-type convertor for the member whose type is passed as the memberType parameter.

| | memberType | Type |

A Type descendant which represents the type of the member.

|

See Also

GetConverter(Type)

XPDictionary Class

XPDictionary Members

DevExpress.Xpo.Metadata Namespace