Microsoft.VisualStudio.Project.EnumDependencies.Skip C# (CSharp) Method

Skip() public method

public Skip ( uint elements ) : int
elements uint
return int
        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;
        }

Usage Example

Exemplo n.º 1
0
        public int Clone(out IVsEnumDependencies enumDependencies)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            enumDependencies = new EnumDependencies(this.dependencyList);
            enumDependencies.Skip(this.nextIndex);
            return(VSConstants.S_OK);
        }
All Usage Examples Of Microsoft.VisualStudio.Project.EnumDependencies::Skip