Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  HasAttributes()
element class : HasAttributes() method

Description

Gets a value that indicates whether one or more attributes exists.

Syntax

elementInstance.HasAttributes()

Arguments

None

Return value

ClassDescription
boolA value that indicates whether one or more attributes exists.

Sample code

//anyElement is any instance of element type.

bool haveAttribute = anyElement.HasAttributes();

Notes

It's a wrapper of the MSHTML.IHTMLElement5.hasAttributes().

Links for reference

Copyright © Rice All rights reserved.