Select メソッド (SLComboBox)
クラス
SLComboBox
.
処理
コンボ ボックスの項目を選択します。
構文
C#
comboBox
.
Select
(
item
)
VB
comboBox
.
Select
(
item
)
変数
説明
item
選択する項目。
ItemIdentifier
。
例
VB
コンボ ボックスからテキスト "item 1" を持つ項目を選択するには、次のように入力します。
comboBox.Select("item 1")
コンボ ボックスから 3 番目の項目を選択するには、次のように入力します。
comboBox.Select(2)