Click or drag to resize

ItemgetProperty Method (String, String, String)

Gets value of the property with the specified name.

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

Parameters

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

Return Value

Type: String
If the property is an item-property, ID of the item-property is returned. If the property doesn't exist or it's an item-property without ID, the default value is returned; otherwise the method returns value of the specified property name for the specified language.
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
See Also