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

Description

Sets a value of the id attribute of the element.

Syntax

elementInstance.Id = identifier

Arguments

ClassNameDescription
stringidentifierA value of the id attribute of the element.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.Id = "anyIdentifier";

Notes

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

Links for reference

Copyright © Rice All rights reserved.