Reflection .NET API
Attachmate.Reflection Assembly / Attachmate.Reflection.Web.Msie Namespace / IWebElement Interface / GetAttribute Method
The name of the attribute. This argument is not case sensitive.


In This Topic
    GetAttribute Method
    In This Topic
    Gets the value of the named attribute on the element.
    Syntax
    'Declaration
     
    
    Function GetAttribute( _
       ByVal attributeName As String _
    ) As String
    'Usage
     
    
    Dim instance As IWebElement
    Dim attributeName As String
    Dim value As String
     
    value = instance.GetAttribute(attributeName)
    string GetAttribute( 
       string attributeName
    )

    Parameters

    attributeName
    The name of the attribute. This argument is not case sensitive.

    Return Value

    The value of this attribute on the element, as a string value. If the specified attribute does not exist on this element, returns an empty string.
    See Also