public byte[] Serialize()
{
int index = 0;
byte[] serializeBuffer = new byte[this.Size()];
Array.Copy(BitConverter.GetBytes((ushort)this.PropertyType), 0, serializeBuffer, index, sizeof(ushort));
index += sizeof(ushort);
Array.Copy(BitConverter.GetBytes((ushort)this.PropertyId), 0, serializeBuffer, index, sizeof(ushort));
index += sizeof(ushort);
return serializeBuffer;
}