ItemgetAttribute Method (String, String) |
Returns value of the attribute with the specified name on the item's node.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic string getAttribute(
string attributeName,
string defaultValue
)
Public Function getAttribute (
attributeName As String,
defaultValue As String
) As String
public String getAttribute(
String attributeName,
String defaultValue
)
public function getAttribute(
attributeName : String,
defaultValue : String
) : String
Parameters
- attributeName
- Type: SystemString
The qualified name of the attribute. - defaultValue
- Type: SystemString
Default value of the attribute.
Return Value
Type:
StringAttribute value if the attribute exists, default value otherwise
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a single item. |
See Also