Returns a new Item with the specified type.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public Item newItem(
	string itemTypeName
)
Visual Basic (Declaration)
Public Function newItem ( _
	itemTypeName As String _
) As Item
J#
public Item newItem(
	String itemTypeName
)
JScript
public function newItem(
	itemTypeName : String
) : Item

Parameters

itemTypeName
Type: System..::.String
Name of the ItemType.

Return Value

Newly created instance of Item.

Remarks

The ItemType name is used to set the 'type' attribute. 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