次の方法で共有


SelectionList.Selection プロパティ

定義

選択した項目を返します。選択されていない場合は null します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。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

プロパティ値

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

属性

注釈

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

適用対象

こちらもご覧ください