using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Adds transactional capability when adding a new item to a collection.
// Token: 0x02000130 RID: 304
[Token(Token = "0x2000130")]
public interface ICancelAddNew
{
/// Discards a pending new item from the collection.
/// The index of the item that was previously added to the collection.
// Token: 0x060007A4 RID: 1956
[Token(Token = "0x60007A4")]
[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: 0x060007A5 RID: 1957
[Token(Token = "0x60007A5")]
[Address(Slot = "1")]
void EndNew(int itemIndex);
}
}