Gets value of the property with the specified name.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public string getProperty(
string propertyName,
string defaultValue,
string lang
) |
Visual Basic (Declaration) |
---|
Public Function getProperty ( _
propertyName As String, _
defaultValue As String, _
lang As String _
) As String |
J# |
---|
public String getProperty(
String propertyName,
String defaultValue,
String lang
) |
JScript |
---|
public function getProperty(
propertyName : String,
defaultValue : String,
lang : String
) : String |
Parameters
- propertyName
- Type: System..::.String
Property name.
- defaultValue
- Type: System..::.String
Default value of the property.
- lang
- Type: System..::.String
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
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
Exception | Condition |
---|
System..::.Exception | The instance doesn't represent a single item. |
See Also