public virtual int Skip(uint elements) { this.nextIndex += elements; uint count = (uint)this.dependencyList.Count; if(this.nextIndex > count) { this.nextIndex = count; return VSConstants.S_FALSE; } return VSConstants.S_OK; }
public int Clone(out IVsEnumDependencies enumDependencies) { ThreadHelper.ThrowIfNotOnUIThread(); enumDependencies = new EnumDependencies(this.dependencyList); enumDependencies.Skip(this.nextIndex); return(VSConstants.S_OK); }