Beispiel #1
0
        public List <string> GetAllLabels()
        {
            List <string> allLabels = new List <string>();

            VSSItem      item     = vssDatabase.get_VSSItem(rootProject, false);
            IVSSVersions versions = item.get_Versions(0);

            foreach (IVSSVersion version in versions)
            {
                if (version.Label.Length > 0)
                {
                    allLabels.Add(version.Label);
                }
            }

            return(allLabels);
        }