Method AddNewItem
AddNewItem(object)
Add a new item to the underlying collection. Returns the new item. After calling AddNewItem and changing the new item as desired, either CommitNew() or CancelNew() should be called to complete the transaction.
public object AddNewItem(object newItem)
Parameters
newItem
object