Returns 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 string getAttribute(
	string attributeName,
	string defaultValue
)
Visual Basic (Declaration)
Public Function getAttribute ( _
	attributeName As String, _
	defaultValue As String _
) As String
J#
public String getAttribute(
	String attributeName,
	String defaultValue
)
JScript
public function getAttribute(
	attributeName : String, 
	defaultValue : String
) : String

Parameters

attributeName
Type: System..::.String
The qualified name of the attribute.
defaultValue
Type: System..::.String
Default value of the attribute.

Return Value

Attribute value if the attribute exists, default value otherwise

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.

See Also