Undo object removal

Hi folks,

with the API, is it possible to remove an undo object from the undo list without actually undoing it?

(SW 2010 or 2011, C#)

Thanks

SolidworksApi macros