Click or drag to resize

ItemcreatePropertyItem Method

Creates an item with the specified type and action and sets it as the specified property of this item.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item createPropertyItem(
	string propName,
	string type,
	string action
)

Parameters

propName
Type: SystemString
Name of property.
type
Type: SystemString
Type of the item property.
action
Type: SystemString
Name of the action that will be set on the item property.

Return Value

Type: Item
Created item with the specified type and action.
Exceptions
ExceptionCondition
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.).
ArgumentExceptionProperty node is read-only.
Remarks
Returned item shares dom property with this item (i.e. both returned item's and this item's dom reference the same instance of ArasXmlDocument). The method is similar to setPropertyItem(propName, item) except that setPropertyItem(propName, item) gets an item as the method argument and doesn't create it internally.
See Also