InfoConnect API Guide
Attachmate.Reflection.Web.Msie Namespace / IWebElement Interface / GetElementsByTagName Method
The name of the tag whose WebElement objects you want to retrieve.


In This Topic
    GetElementsByTagName Method (IWebElement)
    In This Topic
    Gets a collection of elements in the HTML WebDocument by HTML. tagName.
    Syntax
    'Declaration
     
    
    Function GetElementsByTagName( _
       ByVal tagName As String _
    ) As IWebElement()
    'Usage
     
    
    Dim instance As IWebElement
    Dim tagName As String
    Dim value() As IWebElement
     
    value = instance.GetElementsByTagName(tagName)
    IWebElement[] GetElementsByTagName( 
       string tagName
    )

    Parameters

    tagName
    The name of the tag whose WebElement objects you want to retrieve.

    Return Value

    A collection containing all elements whose HTML tag name is equal to tagName.
    See Also