What I'm trying to do is to get the latest version of all all labeled files in a path. Most folks label things and refetch the entire label, but that's not how we work in our ASP.NET project.
I'm using the API and have successfully written a BeginLabelQuery to get all the labels for a particular file, which I can successfully loop through to determine that latest labeled one.
Once I've found it, though, I have VaultLabelItemX object with a bunch of properties, none of which seem to be a pointer to the ID of the actual object, which I could use to fetch the file. I see the path of the object, but I need to narrow in on a specific VERSION of the file.
This post tried to explain some of the properties and it was useful, but none of them are what I'm looking for. I was hoping that _nRootObjID would be it, but it never changes for each label on a given file, so I'm unable to use it to differentiate between the different versions.
API: Get the actual version/object from an VaultLabelItemX
Moderator: SourceGear