RanorexRanorex Documentation
SetAttributeValue Method (name, value)
NamespacesRanorex.CoreElementSetAttributeValue(String, String)
Sets the value of an attribute.
Declaration Syntax
C#Visual BasicVisual C++
public void SetAttributeValue(
	string name,
	string value
)
Public Sub SetAttributeValue ( _
	name As String, _
	value As String _
)
public:
void SetAttributeValue(
	String^ name, 
	String^ value
)
Parameters
name (String)
The name of the attribute.
value (String)
The value to set as string.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name is null.
SetAttributeFailedExceptionThrown if setting the attribute value failed or the string value could not be converted to the attribute's type.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)