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

Description

Returns a list of elements with the specified element name.

Syntax

documentInstance.GetElementsByTagName(string elementName)

Arguments

ClassNameDescription
stringelementNameElement name.

Return value

ClassDescription
list{element}A list of elements with the specified element name.

Sample code

document d = new document();

list{element} le =d.GetElementsByTagName("img");

Notes

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

Links for reference

Copyright © Rice All rights reserved.