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