Step 1: Understanding the capacitor's equation.
The capacitance of a capacitor is given by:
\[
C = \frac{Q}{V}
\]
Where \( Q \) is the charge stored and \( V \) is the potential across the capacitor. The change in charge is proportional to the change in voltage, thus:
\[
C = \frac{Q - Q'}{V - V'}
\]
Therefore, the capacitance is given by \( \frac{Q - Q'}{V'} \), and the correct answer is (D).