System.Runtime.CompilerServices.ReadOnlyCollectionBuilder.Remove C# (CSharp) Method

Remove() public method

Removes the first occurrence of a specific object from the ReadOnlyCollectionBuilder{T}.
public Remove ( item ) : bool
item The object to remove from the .
return bool
        public bool Remove(T item)
        {
            int index = IndexOf(item);
            if (index >= 0)
            {
                RemoveAt(index);
                return true;
            }

            return false;
        }