DTO を使用した PSQL サーバーの設定 : DtoSelectionItem オブジェクト
 
このページをシェアする                  
DtoSelectionItem オブジェクト
選択タイプの設定で選択可能な値を表すオブジェクトです。
プロパティ
ItemID
選択項目の一意の ID を返します。
Setting
この選択項目を適用する設定を返します。
String
選択項目の値を返します。
メソッド
なし
備考
DtoSetting オブジェクトAllPossibleSelections プロパティは DtoSelectionItems コレクションを返します。
Set first_setting = my_settings.Item(1)
 
Dim type as dtoSettingType
type = first_setting.Type
 
'選択タイプの設定の場合のみこれを呼び出す
'設定タイプ列挙を参照
 
if (type = dtoSingleSel) OR (type = dtoMultiSel) then
Dim all_the_selections as DtoSelectionItems
Dim selection as DtoSelectionitem
Set all_the_selections = first_setting.AllPossibleSelections
 
Dim String_text as String
For each selection in all_the_selections
  String_text = selection.String
Next
関連項目
DtoSelectionItems コレクション
DtoSetting オブジェクト