WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIProperties

IID:78650582-4e93-4b60-8e85-26ebd3eb14ca
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void get ( char* prop , nsIIDRef iid , out nsQIResult* result ) void getKeys ( out PRUint32 count , out arrayof char* keys ) PRBool has ( char* prop ) void set ( char* prop , nsISupports value ) void undefine ( char* prop )

void get ( char* prop , nsIIDRef iid , out nsQIResult* result )

Gets a property with a given name.

Arguments:
prop
iid
result
Returns:
NS_ERROR_NO_INTERFACE if the found property fails to QI to the given iid.

void getKeys ( out PRUint32 count , out arrayof char* keys )

Returns an array of the keys.

Arguments:
count
keys

PRBool has ( char* prop )

Returns true if the property with the given name exists.

Arguments:
prop

void set ( char* prop , nsISupports value )

Sets a property with a given name to a given value.

Arguments:
prop
value

void undefine ( char* prop )

Undefines a property.

Arguments:
prop
Returns:
NS_ERROR_FAILURE if a property with that name doesn't already exist.

References

This interface is the type of the following properties:

nsIFeedResult.headers

This interface is returned from the following methods:

imgICache.findEntryProperties

Reference documentation is generated from Mozilla's source.