Click or drag to resize

ItemgetPropertyAttribute Method (String, String, String, String)

Gets the specified attribute of the property with the specified name and language.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public string getPropertyAttribute(
	string propertyName,
	string attributeName,
	string defaultValue,
	string lang
)

Parameters

propertyName
Type: SystemString
Property name.
attributeName
Type: SystemString
Attribute name
defaultValue
Type: SystemString
Attribute default value
lang
Type: SystemString
Language for which the property attribute has to be returned. If null value is passed, the language of the current session is assumed.

Return Value

Type: String
If either property with the specified name or the specified attribute on the property doesn't exist, returns the default value; otherwise returns value of the property attribute for the specified language.
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
See Also