Go to: Synopsis. Return value. MEL examples.
containerCreateBindingSet
None
Variable Name | Variable Type | Description |
---|---|---|
$container | string | , the container to use, or "" to use selected |
$bindingSet | string | , the bindingSet to use, or "" have default bindingSet name determined automatically |
$updateMode | int | when true, indicates that the binding set exists and is being updated. |
$forceUpdate | int | when true, indicates that the update will replace existing entries in the binding set. When false, existing binding set entries will be left as-is. |
// 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);