Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIProperties Interface Reference

import "nsIProperties.idl";

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

List of all members.

Public Member Functions

void get (in string prop, in nsIIDRef iid,[iid_is(iid), retval] out nsQIResult result)
 Gets a property with a given name.
void set (in string prop, in nsISupports value)
 Sets a property with a given name to a given value.
boolean has (in string prop)
 Returns true if the property with the given name exists.
void undefine (in string prop)
 Undefines a property.
void getKeys (out PRUint32 count,[array, size_is(count), retval] out string keys)
 Returns an array of the keys.

Detailed Description

Definition at line 46 of file nsIProperties.idl.


Member Function Documentation

void nsIProperties::get ( in string  prop,
in nsIIDRef  iid,
[iid_is(iid), retval] out nsQIResult  result 
)

Gets a property with a given name.

Returns:
NS_ERROR_FAILURE if a property with that name doesn't exist.
NS_ERROR_NO_INTERFACE if the found property fails to QI to the given iid.

Here is the caller graph for this function:

void nsIProperties::getKeys ( out PRUint32  count,
[array, size_is(count), retval] out string  keys 
)

Returns an array of the keys.

Here is the caller graph for this function:

Returns true if the property with the given name exists.

Here is the caller graph for this function:

void nsIProperties::set ( in string  prop,
in nsISupports  value 
)

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

Here is the caller graph for this function:

Undefines a property.

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

Here is the caller graph for this function:


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