Click or drag to resize

ItemnewItem Method (String, String)

Returns a new Item with the specified type and action.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item newItem(
	string itemTypeName,
	string action
)

Parameters

itemTypeName
Type: SystemString
Name of the ItemType.
action
Type: SystemString
Name of action (e.g. "get", "update", etc.)

Return Value

Type: Item
Newly created instance of Item.
Remarks
The ItemType name is used to set the 'type' attribute and the action name is used to set the 'action' attribute on the Item. The new Item will have no properties. In order to populate it with default property values of its ItemType call Item.fetchDefaultPropertyValues(true) on the item.
See Also

Reference

ItemnewItem(String, String)