nsIPropertyBag2

Methods

getPropertyAsInt32(prop)

getPropertyAsUint32(prop)

getPropertyAsInt64(prop)

getPropertyAsUint64(prop)

getPropertyAsDouble(prop)

getPropertyAsAString(prop)

getPropertyAsACString(prop)

getPropertyAsAUTF8String(prop)

getPropertyAsBool(prop)

getPropertyAsInterface(prop, iid, result)

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

get(prop)

This method returns null if the value does not exist,
or exists but is null.

hasKey(prop)

Check for the existence of a key.