Skip to main content

DataContext.TryGetDataMemberDisplayName(Object, String, out String) Method

Attempts to obtain the display name of the specified data member.

Namespace: DevExpress.Data.Browsing

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public bool TryGetDataMemberDisplayName(
    object dataSource,
    string dataMember,
    out string result


Name Type Description
dataSource Object

A Object value, specifying the data source.

dataMember String

A String value, specifying the data member.

result String

A String value, specifying the result.


Type Description

true if the data member’s display name has been obtained; otherwise false.

See Also