Modifier

Partager via


MetaTable.DisplayColumn Property

Definition

Gets the column that is used to display values when entries in this table are used as parents in foreign-key relationships.

public:
 property System::Web::DynamicData::MetaColumn ^ DisplayColumn { System::Web::DynamicData::MetaColumn ^ get(); };
public:
 virtual property System::Web::DynamicData::MetaColumn ^ DisplayColumn { System::Web::DynamicData::MetaColumn ^ get(); };
public System.Web.DynamicData.MetaColumn DisplayColumn { get; }
public virtual System.Web.DynamicData.MetaColumn DisplayColumn { get; }
member this.DisplayColumn : System.Web.DynamicData.MetaColumn
Public ReadOnly Property DisplayColumn As MetaColumn
Public Overridable ReadOnly Property DisplayColumn As MetaColumn

Property Value

The column that is used to display values when entries in this table are used as parents in foreign-key relationships.

Remarks

The column that is returned is selected in this order:

  1. The column that is specified by using the DisplayColumnAttribute attribute.

  2. The first string column that is not in the primary key.

  3. The first string column that is in the primary key.

  4. The first non-string column that is in the primary key.

  5. The first column.

Applies to