Click or drag to resize

Itemapply Method (String, Hashtable)

Sets action attribute on the item; sets specified properties and applies the AML, which is the XML of this.dom.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item apply(
	string action,
	Hashtable argsObject
)

Parameters

action
Type: SystemString
Action name. Overwrites current action set on the item. Note, that action can also be set when item is created or by Item.setAction(...) method.
argsObject
Type: System.CollectionsHashtable
A collection of name-value pairs where 'name' is interpreted as 'property name' and 'value' as the property value. Specified in the collection properties are set on the item prior to applying its AML.

Return Value

Type: Item
Returns an Item where the dom property is the XML returned from the server. The dom may contain an Item, a forest of Items (i.e. a disjoint union of AML trees), or an error.
Exceptions
ExceptionCondition
Exception
  • The instance doesn't represent a single item.
  • The instance has a wrong internal structure (e.g. item.node doesn't belong to item.dom; etc.).
See Also