Επεξεργασία

Κοινή χρήση μέσω


List.DataMember Property

Definition

Gets or sets the name of the data member to extract when data binding to a list data source. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 virtual property System::String ^ DataMember { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.DataMemberConverter))]
public virtual string DataMember { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.DataMemberConverter))>]
member this.DataMember : string with get, set
Public Overridable Property DataMember As String

Property Value

The name of the data member to extract when data binding to a list data source.

Attributes

Remarks

This property is only used if the value of the DataSource property is of type IListSource, rather than of type IEnumerable.

Applies to

See also