DataContext.GetDataSourceDisplayName(Object, String) Method

Returns the display name of a data source.

Namespace: DevExpress.Data.Browsing

Assembly: DevExpress.Data.v20.2.dll

Declaration

public virtual string GetDataSourceDisplayName(
    object dataSource,
    string dataMember
)
Public Overridable Function GetDataSourceDisplayName(
    dataSource As Object,
    dataMember As String
) As String

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