Export (0) Print
Expand All

IHTMLDocument7::hasAttributes Method

New for Windows Internet Explorer 9

Determines whether one or more attributes exist for the object.

Syntax


HRESULT hasAttributes(
    VARIANT_BOOL *pfHasAttribute
);

Parameters

pfHasAttribute
[out, retval]  One of the following required values:
VARIANT_FALSE
The element does not define any attributes.
VARIANT_TRUE
The element defines one or more attributes.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The IHTMLDocument7::hasAttributes method determines whether the object has any attributes at all. The IHTMLElement5::hasAttribute method tests for the existence of a specified attribute.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft