Set the value of the attribute with the specified name on the item's node.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public void setAttribute(
	string attributeName,
	string attributeValue
)
Visual Basic (Declaration)
Public Sub setAttribute ( _
	attributeName As String, _
	attributeValue As String _
)
J#
public void setAttribute(
	String attributeName,
	String attributeValue
)
JScript
public function setAttribute(
	attributeName : String, 
	attributeValue : String
)

Parameters

attributeName
Type: System..::.String
The name of the attribute to create or alter. This is a qualified name. If the name contains a colon it is parsed into prefix and local name components.
attributeValue
Type: System..::.String
The value to set for the attribute.

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.
System.Xml..::.XmlExceptionThe specified attribute name contains an invalid character.
System..::.ArgumentExceptionThe this.node is read-only.

See Also