/// <summary> /// String representation of the accelerator. /// </summary> /// <returns>String representation of the accelerator.</returns> public override string ToString() { return(string.Format("{0}, {1}, {2}", Key, Command, ResourceUtil.FlagsToString <User32.AcceleratorVirtualKey>( _accel.fVirt).Replace(" |", ","))); }