ItemsetPropertyCondition Method (String, String, String) |
Sets the attribute 'condition' on the specified property with the specified language.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic void setPropertyCondition(
string propertyName,
string condition,
string lang
)
Public Sub setPropertyCondition (
propertyName As String,
condition As String,
lang As String
)
public void setPropertyCondition(
String propertyName,
String condition,
String lang
)
public function setPropertyCondition(
propertyName : String,
condition : String,
lang : String
)
Parameters
- propertyName
- Type: SystemString
Property name - condition
- Type: SystemString
Condition value - lang
- Type: SystemString
Language for which the property condition has to be set. If null value is passed,
the language of the current session is assumed.
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a single item. |
ArgumentException | The property node is read-only. |
Remarks
If property tag with the specified name and language doesn't exist in this.node,
the property tag is created after which the attribute 'condition' is set on it.
Note, that if the property tag is created by the method, the property value (i.e. tag's InnerText)
is empty. See "Innovator Programmer's Guide" for more details on condition syntax.
See Also