Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIWritablePropertyBag Interface Reference

import "nsIWritablePropertyBag.idl";

Inheritance diagram for nsIWritablePropertyBag:
Inheritance graph
[legend]
Collaboration diagram for nsIWritablePropertyBag:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setProperty (in AString name, in nsIVariant value)
 Set a property with the given name to the given value.
void deleteProperty (in AString name)
 Delete a property with the given name.
nsIVariant getProperty (in AString name)
 Get a property value for the given name.

Public Attributes

readonly attribute
nsISimpleEnumerator 
enumerator
 Get a nsISimpleEnumerator whose elements are nsIProperty objects.

Detailed Description

Definition at line 45 of file nsIWritablePropertyBag.idl.


Member Function Documentation

Delete a property with the given name.

Exceptions:
NS_ERROR_FAILUREif a property with that name doesn't exist.
nsIVariant nsIPropertyBag::getProperty ( in AString  name) [inherited]

Get a property value for the given name.

Exceptions:
NS_ERROR_FAILUREif a property with that name doesn't exist.
void nsIWritablePropertyBag::setProperty ( in AString  name,
in nsIVariant  value 
)

Set a property with the given name to the given value.

If a property already exists with the given name, it is overwritten.


Member Data Documentation

Get a nsISimpleEnumerator whose elements are nsIProperty objects.

Definition at line 53 of file nsIPropertyBag.idl.


The documentation for this interface was generated from the following file: