Interface nsIPropertiesType

Simple mapping service interface.

Hierarchy

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Gets a property with a given name.

    Throws

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

    Throws

    NS_ERROR_NO_INTERFACE if the found property fails to QI to the given iid.

    Parameters

    • prop: string
    • iid: object
    • result: object

    Returns void

  • Returns true if the property with the given name exists.

    Parameters

    • prop: string

    Returns boolean

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

    Parameters

    • prop: string
    • value: nsISupports

    Returns void

  • Undefines a property.

    Throws

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

    Parameters

    • prop: string

    Returns void

Generated using TypeDoc