Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
The name of the attribute. This argument is not case sensitive.
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