共用方式為


removeFragment method

Removes a fragment from the composer site.

Syntax

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

Parameters

  • attributeName [in]
    Type: BSTR

    Specifies the animated attribute name.

  • fragment [in]
    Type: IDispatch

    Pointer to the dispatch of the fragment to remove.

Return value

Type: HRESULT

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

Remarks

removeFragment was introduced in Microsoft Internet Explorer 6