You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
nsIProperties
This is a simple mapping service interface. It is scriptable.
Gets a property with a given name.
Syntax:
void nsIProperties::get(in string prop, in nsIIDRef iid, [iid_is(iid),retval] out nsQIResult result)
Parameters:
nsresult:
Sets a property with a given name to a given value.
Syntax:
void nsIProperties::set(in string prop, in nsISupports value)
Parameters:
nsresult:
Checks if a property with a given name exists.
Syntax:
boolean nsIProperties::has(in string prop)
Parameters:
Returns:
Syntax:
void nsIProperties::undefine(in string prop)
Parameters:
nsresult:
Syntax:
void nsIProperties::getKeys(out PRUint32 count, [array, size_is(count), retval] out string keys)
Parameters:
nsresult:
Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |