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.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

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

Parameters

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.

Returns

Type Description
Boolean

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

See Also