private void BuildChangeSetOfCheckedOutFiles(VaultClientFolder folder, out ChangeSetItemColl changeSet) { if (ClientInstance.WorkingFolderOptions.RequireCheckOutBeforeCheckIn == false) { // Do a scan to update the change set list ClientInstance.UpdateKnownChanges_All(false); } // The new list of change set items changeSet = new ChangeSetItemColl(); // Get the internal change set ChangeSetItemColl csic = ClientInstance.InternalChangeSet_GetItems(true); if ((csic != null) && (csic.Count > 0)) { // From the full change list, build a new list including only those in the requested folder foreach (ChangeSetItem internalChange in csic) { if (internalChange.DisplayRepositoryPath.IndexOf(folder.FullPath) == 0) { changeSet.Add(internalChange); } } } }