SelectionList.Selection プロパティ

定義

選択された項目を返します。どの項目も選択されていない場合は、null を返します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps & Sites with ASP.NET」 (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

プロパティ値

MobileListItem

選択リストで現在選択されている項目。

属性

注釈

コントロールが複数選択モードの場合、このプロパティは最初に選択した項目を返します。

適用対象

こちらもご覧ください