Copies attributes to the specified element.
Syntax
HRESULT retVal = object.mergeAttributes(mergeThis, pvarFlags);
Parameters
mergeThis [in]
Type: IHTMLElement
A pointer to an IHTMLElement interface that specifies the element from which the attributes are merged.
pvarFlags [in, optional]
Type: VARIANT
A pointer to a VARIANT that specifies one of the following values.
VARIANT_TRUE
Preserve the identity of the element receiving the attributes.
VARIANT_FALSE
Do not preserve the identity of the element receiving the attributes.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.