using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Adds transactional capability when adding a new item to a collection.
// Token: 0x0200012C RID: 300
[Token(Token = "0x200012C")]
public interface ICancelAddNew
{
/// Discards a pending new item from the collection.
/// The index of the item that was previously added to the collection.
// Token: 0x0600078E RID: 1934
[Token(Token = "0x600078E")]
[Address(Slot = "0")]
void CancelNew(int itemIndex);
/// Commits a pending new item to the collection.
/// The index of the item that was previously added to the collection.
// Token: 0x0600078F RID: 1935
[Token(Token = "0x600078F")]
[Address(Slot = "1")]
void EndNew(int itemIndex);
}
}