IsEqual method

Compares the internal formatting of two IHTMLComputedStyle objects.

Syntax

HRESULT retVal = object.IsEqual(pComputedStyle, pfEqual);

Parameters

pComputedStyle [in]

Type: IHTMLComputedStyle

A pointer to an IHTMLComputedStyle interface that specifies the object for the comparison.

pfEqual [out]

Type: VARIANT_BOOL

A pointer to a VARIANT_BOOL that receives one of the following values, based on the comparison of the two IHTMLComputedStyle objects.

VARIANT_FALSE (false)

One or more properties of the objects are different.

VARIANT_TRUE (true)

All of the properties of the objects are equal.

Return value

Type: HRESULT

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