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.9.36244
Syntaxpublic Item apply(
string action,
Hashtable argsObject
)
Public Function apply (
action As String,
argsObject As Hashtable
) As Item
public Item apply(
String action,
Hashtable argsObject
)
public function apply(
action : String,
argsObject : Hashtable
) : Item
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.
ExceptionsException | Condition |
---|
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