How to display the change type

Topics: Developer Forum
Jan 28, 2007 at 10:56 PM
I noticed in the screenshot that it shows an Add as an Add, Edit, Encoding. While that's technically correct (that's how the server records it), only the Add is shown to the user by tf.exe and the VS integration. There's a static method on the PendingChange class called GetLocalizedStringForChangeType() that will provide something suitable for display.