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

Description

Gets the value of the id attribute of the element.

Syntax

elementInstance.Id

Arguments

None

Return value

ClassDescription
stringThe value of the id attribute of the element.

Sample code

//anyElement is an any instance of element type.

string identifier = anyElement.Id;

Notes

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

Links for reference

Copyright © Rice All rights reserved.