Back to index

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

import "nsIPropertyBag2.idl";

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

List of all members.

Public Member Functions

PRInt32 getPropertyAsInt32 (in AString prop)
PRUint32 getPropertyAsUint32 (in AString prop)
PRInt64 getPropertyAsInt64 (in AString prop)
PRUint64 getPropertyAsUint64 (in AString prop)
double getPropertyAsDouble (in AString prop)
AString getPropertyAsAString (in AString prop)
ACString getPropertyAsACString (in AString prop)
AUTF8String getPropertyAsAUTF8String (in AString prop)
boolean getPropertyAsBool (in AString prop)
void getPropertyAsInterface (in AString prop, in nsIIDRef iid,[iid_is(iid), retval] out nsQIResult result)
 This method returns null if the value exists, but is null.
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 43 of file nsIPropertyBag2.idl.


Member Function Documentation

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.
ACString nsIPropertyBag2::getPropertyAsACString ( in AString  prop)
AString nsIPropertyBag2::getPropertyAsAString ( in AString  prop)
AUTF8String nsIPropertyBag2::getPropertyAsAUTF8String ( in AString  prop)
double nsIPropertyBag2::getPropertyAsDouble ( in AString  prop)
void nsIPropertyBag2::getPropertyAsInterface ( in AString  prop,
in nsIIDRef  iid,
[iid_is(iid), retval] out nsQIResult  result 
)

This method returns null if the value exists, but is null.


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: