private string GetPropertyName(int id) { // If the highest bit is set, this is a standard framework property if ((id & 0x8000) != 0) { return(XbfFrameworkTypes.GetNameForPropertyID(id & ~0x8000) ?? string.Format("UnknownProperty0x{0:X4}", id)); } return(PropertyTable[id].Name); }