appendNameFilePair method

Allows element behaviors to submit name-filename pairs to a server from within a form.

Syntax

HRESULT retVal = object.appendNameFilePair(name, filename);

Parameters

  • name [in]
    Type: BSTR

    BSTR that specifies the name.

  • filename [in]
    Type: BSTR

    BSTR that specifies the filename.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.