@mozilla.org/hash-property-bag;1

This component implements the following interfaces:

Properties

readonly nsISimpleEnumerator nsIPropertyBag.enumerator

Get a nsISimpleEnumerator whose elements are nsIProperty objects.

Methods

InterfaceMethod
nsIWritablePropertyBag void deleteProperty ( AString name )
nsIPropertyBag nsIVariant getProperty ( AString name )
nsIPropertyBag2 ACString getPropertyAsACString ( AString prop )
nsIPropertyBag2 AString getPropertyAsAString ( AString prop )
nsIPropertyBag2 AUTF8String getPropertyAsAUTF8String ( AString prop )
nsIPropertyBag2 PRBool getPropertyAsBool ( AString prop )
nsIPropertyBag2 double getPropertyAsDouble ( AString prop )
nsIPropertyBag2 PRInt32 getPropertyAsInt32 ( AString prop )
nsIPropertyBag2 PRInt64 getPropertyAsInt64 ( AString prop )
nsIPropertyBag2 void getPropertyAsInterface ( AString prop , nsIIDRef iid , out nsQIResult* result )
nsIPropertyBag2 PRUint32 getPropertyAsUint32 ( AString prop )
nsIPropertyBag2 PRUint64 getPropertyAsUint64 ( AString prop )
nsIWritablePropertyBag void setProperty ( AString name , nsIVariant value )
nsIWritablePropertyBag2 void setPropertyAsACString ( AString prop , ACString value )
nsIWritablePropertyBag2 void setPropertyAsAString ( AString prop , AString value )
nsIWritablePropertyBag2 void setPropertyAsAUTF8String ( AString prop , AUTF8String value )
nsIWritablePropertyBag2 void setPropertyAsBool ( AString prop , PRBool value )
nsIWritablePropertyBag2 void setPropertyAsDouble ( AString prop , double value )
nsIWritablePropertyBag2 void setPropertyAsInt32 ( AString prop , PRInt32 value )
nsIWritablePropertyBag2 void setPropertyAsInt64 ( AString prop , PRInt64 value )
nsIWritablePropertyBag2 void setPropertyAsInterface ( AString prop , nsISupports value )
nsIWritablePropertyBag2 void setPropertyAsUint32 ( AString prop , PRUint32 value )
nsIWritablePropertyBag2 void setPropertyAsUint64 ( AString prop , PRUint64 value )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com