Sets the attribute 'condition' on the specified property.

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

Syntax

C#
public void setPropertyCondition(
	string propertyName,
	string condition
)
Visual Basic (Declaration)
Public Sub setPropertyCondition ( _
	propertyName As String, _
	condition As String _
)
J#
public void setPropertyCondition(
	String propertyName,
	String condition
)
JScript
public function setPropertyCondition(
	propertyName : String, 
	condition : String
)

Parameters

propertyName
Type: System..::.String
Property name
condition
Type: System..::.String
Condition value

Remarks

If property tag with the specified name 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.

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.
System..::.ArgumentExceptionThe property node is read-only.

See Also