Skip to main content

DataContext.GetDataSourceDisplayName(Object, String) Method

Returns the display name of a data source.

Namespace: DevExpress.Data.Browsing

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public virtual string GetDataSourceDisplayName(
    object dataSource,
    string dataMember
)

Parameters

Name Type Description
dataSource Object

A Object value, specifying the data source.

dataMember String

A String value, specifying the data member.

Returns

Type Description
String

A String value, specifying the data source display name.

See Also