Click or drag to resize
Ranorex

ElementSetAttributeValue Method (String, Object)

Sets the value of an attribute.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public void SetAttributeValue(
	string name,
	Object value
)

Parameters

name
Type: SystemString
The name of the attribute.
value
Type: SystemObject
The value to set.

Implements

IElementSetAttributeValue(String, Object)
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name is null.
SetAttributeFailedExceptionThrown if setting the attribute value failed.
See Also