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

Description

Gets the ordinal position of the element.

Syntax

elementInstance.SourceIndex

Arguments

None

Return value

ClassDescription
intThe ordinal position of the element, in source order.

Sample code

//anyElement is an any instance of element type.

int index = anyElement.SourceIndex;

Notes

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

Links for reference

Copyright © Rice All rights reserved.