Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLDOMTextNode3::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 IHTMLDOMTextNode3::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

Show:
© 2015 Microsoft