public int Size() { // 12 indicates sizeof (byte) * 6 + sizeof (Uint16)+sizeof(Uint32) int size = sizeof(byte) * 12; for (int i = 0; i < this.PropertyTagCount; i++) { size += this.PropertyTags[i].Size(); } return size; } }