containerCreateBindingSet
なし
| 変数名 | 変数タイプ | 説明 |
|---|---|---|
| $container | string | 使用するコンテナ、または "" で選択項目を使用 |
| $bindingSet | string | 使用する bindingSet、または "" で既定の bindingSet の名前を自動的に定義 |
| $updateMode | int | true の場合、バインド セットが存在し、更新されていることを示す |
| $forceUpdate | int | true の場合、更新がバインド セットの既存のエントリを置き換えることを示す(false の場合、既存のバインド セットのエントリは置き換えられない) |
// Create new binding set "MyBindings". containerCreateBindingSet(myContainer, "MyBindings", 0, 0); // Update an existing binding set. // Since force option is not used, existing bindings will not be replaced, // only new entries will be added. containerCreateBindingSet(myContainer, "MyBindings", 1, 0); // Update an existing binding set. // Since force option is used, existing bindings will be refreshed with // the current bindings of the reference container. containerCreateBindingSet(myContainer, "MyBindings", 1, 1); // Create a new binding set. Since the binding set name is not // specified, the new binding set will use a default binding set name. containerCreateBindingSet(myContainer, "", 0, 0); // Update the default binding set based on the reference container. // Since force option is used, all entries will be refreshed. containerCreateBindingSet(myContainer, "", 1, 1);