Share via


SelectionList.Selection プロパティ

定義

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

プロパティ値

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

属性

注釈

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

適用対象

こちらもご覧ください