Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  GetElementsByTagName(string)
element class : GetElementsByTagName(string) method

Description

Gets a list of the offspring elements that have the specified element name.

Syntax

elementInstance.GetElementsByTagName(string elementName)

Arguments

ClassNameDescription
stringelementNameElement name.

Return value

ClassDescription
list{element}A list of the offspring elements that have the specified element name.

Sample code

//anyElement is any instance of element type.

list{element} le = anyElement.GetElementsByTagName("a");

Notes

It's a wrapper of the MSHTML.IHTMLElement2.getElementsByTagName(String).

Links for reference

Copyright © Rice All rights reserved.