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

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

Syntax

C#
public string getPropertyAttribute(
	string propertyName,
	string attributeName,
	string defaultValue,
	string lang
)
Visual Basic (Declaration)
Public Function getPropertyAttribute ( _
	propertyName As String, _
	attributeName As String, _
	defaultValue As String, _
	lang As String _
) As String
J#
public String getPropertyAttribute(
	String propertyName,
	String attributeName,
	String defaultValue,
	String lang
)
JScript
public function getPropertyAttribute(
	propertyName : String, 
	attributeName : String, 
	defaultValue : String, 
	lang : String
) : String

Parameters

propertyName
Type: System..::.String
Property name.
attributeName
Type: System..::.String
Attribute name
defaultValue
Type: System..::.String
Attribute default value
lang
Type: System..::.String
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

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
System..::.ExceptionThe instance doesn't represent a single item.

See Also