Creates an item with the specified type and action and sets it as the related item on this item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public Item createRelatedItem(
string type,
string action
) |
Visual Basic (Declaration) |
---|
Public Function createRelatedItem ( _
type As String, _
action As String _
) As Item |
J# |
---|
public Item createRelatedItem(
String type,
String action
) |
JScript |
---|
public function createRelatedItem(
type : String,
action : String
) : Item |
Parameters
- type
- Type: System..::.String
Type of the related item.
- action
- Type: System..::.String
Name of the action that will be set on created related item.
Return Value
Created related item with specified type and action.
Remarks
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.).
|
System..::.ArgumentException | 'related_id' node is read-only. |
See Also