Interface nsICommandParamsType

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

  • get_Value

    Get the value of a specified parameter. Will return an error if the parameter does not exist, or if the value is of the wrong type (no coercion is performed for you).

    nsISupports values can contain any XPCOM interface, as documented for the command. It is permissible for it to contain nsICommandParams, but not this one (i.e. self-containing is not allowed).

    Parameters

    • name: string

    Returns boolean

  • Parameters

    • name: string

    Returns string

  • Parameters

    • name: string

    Returns number

  • Parameters

    • name: string

    Returns nsISupports

  • Parameters

    • name: string

    Returns number

  • Parameters

    • name: string

    Returns string

  • getValueType

    Get the type of a specified parameter

    Parameters

    • name: string

    Returns number

  • removeValue

    Remove the specified parameter from the list.

    Parameters

    • name: string

    Returns void

  • set_Value

    Set the value of a specified parameter (thus creating an entry for it).

    nsISupports values can contain any XPCOM interface, as documented for the command. It is permissible for it to contain nsICommandParams, but not this one (i.e. self-containing is not allowed).

    Parameters

    • name: string
    • value: boolean

    Returns void

  • Parameters

    • name: string
    • value: string

    Returns void

  • Parameters

    • name: string
    • value: number

    Returns void

  • Parameters

    • name: string
    • value: nsISupports

    Returns void

  • Parameters

    • name: string
    • value: number

    Returns void

  • Parameters

    • name: string
    • value: string

    Returns void

Generated using TypeDoc