This permits construction by native or script code a property bag that is also usable by other xpconnect systems.
This interface is implemented by the following components:
readonly nsIPropertyBag propertyBag
The property bag that is being constructed. After the mutator is destroyed, this is read-only. This will never be null.
void addProperty ( AString name , nsIVariant value )
Add or replace a property to the newly-constructed property bag.
- name: The name of the property.
- value: The value of the property.
Reference documentation is generated from Mozilla's source.