共用方式為


InsertFragment method

Inserts a fragment into the composer's internal data structures at the specified position.

Syntax

HRESULT retVal = object.InsertFragment(newAnimationFragment, index);

Parameters

  • newAnimationFragment [in]
    Type: IDispatch

    Pointer to the dispatch of the new fragment.

  • index [in]
    Type: VARIANT

    Specifies index of fragment to add.

Return value

Type: HRESULT

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

Remarks

IAnimationComposer::InsertFragment was introduced in Microsoft Internet Explorer 6