Go to: Synopsis. Return value. MEL examples.
 
containerAutobind 
	 
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 determined automatically | 
| $autobindAll | int | , process all published names (by default only unbound names are processed) | 
| $force | int | , forcibly unbind previously bound attributes if they are not matched. By default unmatched names will be skipped. | 
// autobind myContainer using binding set "MyBindings". // Since all option is used, all published names (bound and unbound) // will be processed. // Since force option is used, any unmatched name will be unbound. containerAutobind(myContainer, "MyBindings", 1, 1); // autobind myContainer using a default binding set // Since all option is not set, only unbound names will be processed. containerAutobind(myContainer, "", 0, 0); // autobind myContainer using the default binding set. // All published names will be processed. // Because force option is not used, names not // matched will be left with their current bindings string $bindingSet = containerDefaultBindingSet(); containerAutobind(myContainer, $bindingSet, 1, 0);