Alsing.SourceCode.UndoBlockCollection.Remove C# (CSharp) Method

Remove() public method

public Remove ( UndoBlock item ) : void
item UndoBlock
return void
        public void Remove(UndoBlock item)
        {
            int index = IndexOf(item);
            if (index < 0)
                throw new ArgumentException(
                    "Cannot remove the specified item because it was not found in the specified Collection.");

            RemoveAt(index);
        }