Hello,
I would like to check out various files, edit them and check them back in. However, I do not wish to edit files that are already checked out so I would like to check for this before I make a call to Microsoft.TeamFoundation.VersionControl.Client.Workspace.PendEdit method. I could go through the following procedure:
Call GetPendingChanges
Store the pending changes in a list
Check if the file I am about to edit is in that list
Skip the checkout if it is in the list, proceed with checkout if it is no in the list.
However, I was hoping that there wass there a method I could call on the to do this. That is, one that returns a bool (or int, or enum) telling you if a file is checked out. I have looked, but can't find one.
Thanks in advance, Urvi