public override uint AlignPointers(uint pos)
{
uint next = pos + this.Length;
pos = base.AlignPointers(pos);
foreach (QbItemBase qib in this.Items)
pos = qib.AlignPointers(pos);
//if items exist then null the last item's pointer
if (this.Items.Count != 0)
this.Items[this.Items.Count - 1].NextItemPointer = 0;
return next;
}