System.Data.Common.DataTableMappingCollection.Remove C# (CSharp) Method

Remove() public method

public Remove ( DataTableMapping value ) : void
value DataTableMapping
return void
        public void Remove(DataTableMapping value)
        {
            if (null == value)
            {
                throw ADP.TablesAddNullAttempt(nameof(value));
            }
            int index = IndexOf(value);

            if (-1 != index)
            {
                RemoveIndex(index);
            }
            else
            {
                throw ADP.CollectionRemoveInvalidObject(ItemType, this);
            }
        }

Same methods

DataTableMappingCollection::Remove ( object value ) : void