InnovatornewItem Method (String) |
Returns a new Item with the specified type.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item newItem(
string itemTypeName
)
Public Function newItem (
itemTypeName As String
) As Item
public Item newItem(
String itemTypeName
)
public function newItem(
itemTypeName : String
) : Item
Parameters
- itemTypeName
- Type: SystemString
Name of the ItemType.
Return Value
Type:
ItemNewly 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