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

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