Click or drag to resize
Ranorex

IElementGetAttributeValueText Method (String)

Returns the value of an attribute converted to its string representation.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
string GetAttributeValueText(
	string name
)

Parameters

name
Type: SystemString
The name of the attribute.

Return Value

Type: String
The value of the attribute converted to its string representation.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name is null.
Remarks
This method internally calls GetAttributeValue(String) and converts the returned value to its string representation using the ValueConverter.
See Also