InfoConnect API Guide
Attachmate.Reflection.Web.Msie Namespace / IWebDocument Interface / GetElementsByTagName Method
The HTML tag.


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

    Parameters

    tagName
    The HTML tag.

    Return Value

    Collection of WebElement objects.
    See Also