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.9.36244
Syntaxpublic string getPropertyAttribute(
string propertyName,
string attributeName,
string defaultValue,
string lang
)
Public Function getPropertyAttribute (
propertyName As String,
attributeName As String,
defaultValue As String,
lang As String
) As String
public String getPropertyAttribute(
String propertyName,
String attributeName,
String defaultValue,
String lang
)
public function getPropertyAttribute(
propertyName : String,
attributeName : String,
defaultValue : String,
lang : String
) : String
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.
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a single item. |
See Also