Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  ClassName
element class : ClassName getter

Description

Gets the value of the class attribute of the element.

Syntax

elementInstance.ClassName

Arguments

None

Return value

ClassDescription
stringThe value of the class attribute of the element.

Sample code

//anyElement is an any instance of element type.

string className = anyElement.ClassName;

Notes

It's a wrapper of the MSHTML.IHTMLElement.className.

Links for reference

Copyright © Rice All rights reserved.