Bagikan melalui


SelectionList.Selection Properti

Definisi

Mengembalikan item terpilih, atau null jika tidak ada pilihan. API ini kedaluarsa. Untuk informasi tentang cara mengembangkan aplikasi seluler ASP.NET, lihat Situs & Mobile Apps dengan ASP.NET.

public:
 property System::Web::UI::MobileControls::MobileListItem ^ Selection { System::Web::UI::MobileControls::MobileListItem ^ get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public System.Web.UI.MobileControls.MobileListItem Selection { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.Selection : System.Web.UI.MobileControls.MobileListItem
Public ReadOnly Property Selection As MobileListItem

Nilai Properti

Item yang saat ini dipilih dalam daftar pilihan.

Atribut

Keterangan

Jika kontrol berada dalam mode beberapa pilihan, properti ini mengembalikan item pertama yang dipilih.

Berlaku untuk

Lihat juga