addFragment method

Adds a fragment to the composer site. Consults the registered composer factories to find the proper composer.

Syntax

HRESULT retVal = object.addFragment(attributeName, fragment);

Parameters

  • attributeName [in]
    Type: BSTR

    Specifies the animated attribute name.

  • fragment [in]
    Type: IDispatch

    Pointer to the dispatch of the fragment to add.

Return value

Type: HRESULT

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

Remarks

addFragment was introduced in Microsoft Internet Explorer 6