Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  ClassName(string)
element class : ClassName(string) setter

Description

Sets a value of the class attribute of the element.

Syntax

elementInstance.ClassName = className

Arguments

ClassNameDescription
stringclassNameA value of the class attribute of the element.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.ClassName = "anyClassName";

Notes

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

Links for reference

Copyright © Rice All rights reserved.