Reflection .NET API
Attachmate.Reflection Assembly / Attachmate.Reflection.Web.Msie Namespace / IWebDocument Interface / GetElementById Method
Element Id.


In This Topic
    GetElementById Method
    In This Topic
    Gets a Web element by ID.
    Syntax
    'Declaration
     
    
    Function GetElementById( _
       ByVal Id As String _
    ) As IWebElement
    'Usage
     
    
    Dim instance As IWebDocument
    Dim Id As String
    Dim value As IWebElement
     
    value = instance.GetElementById(Id)
    IWebElement GetElementById( 
       string Id
    )

    Parameters

    Id
    Element Id.

    Return Value

    WebElement object.
    See Also