Skip to main content
A newer version of this page is available. .

XPDictionary.GetConverter(Type) Method

Gets the value-and-type convertor for the specified member type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public ValueConverter GetConverter(
    Type memberType
)

Parameters

Name Type Description
memberType Type

A Type descendant which represents the type of the member.

Returns

Type Description
ValueConverter

A ValueConverter descendant which represents the value-and-type convertor for the member whose type is passed as the memberType parameter or null reference (Nothing in Visual Basic) when the convertor is not specified (registered) for this member.

See Also