Click or drag to resize

ItemsetProperty Method (String, String)

Set the property with the specified name. If property doesn't exist on the item, create it first and then set.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public void setProperty(
	string propertyName,
	string propertyValue
)

Parameters

propertyName
Type: SystemString
Property name.
propertyValue
Type: SystemString
Value to be set on the property.
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
ArgumentExceptionThe this.node is read-only.
Remarks
If property has attribute is_null set to 1 and specified property value is not an empty string, the attribute is removed from the property. If specified property value is null, then attribute is_null='1' is set on the property and it's value is set to empty string (i.e. after setting null value the property tag will look like: <prop is_null='1' />).
See Also