protected override void DoAdd(int index, Chapter item) { this[index].SetBorrowed(false); // We're creating a new object here, so just deallocate the old one Itdb_ChapterData.itdb_chapterdata_add_chapter(handle, item.StartPosition, item.Title); }