Sets action attribute on the item and applies the AML, which is the XML of this.dom.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public Item apply(
string action
) |
Visual Basic (Declaration) |
---|
Public Function apply ( _
action As String _
) As Item |
J# |
---|
public Item apply(
String action
) |
JScript |
---|
public function apply(
action : String
) : Item |
Parameters
- action
- Type: System..::.String
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.
Return Value
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
Exception | Condition |
---|
System..::.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