Npgsql.NpgsqlParameterCollection.RemoveAt C# (CSharp) Method

RemoveAt() public method

Removes the specified NpgsqlParameter from the collection using the parameter name.
public RemoveAt ( string parameterName ) : void
parameterName string The name of the NpgsqlParameter object to retrieve.
return void
        public override void RemoveAt(string parameterName)
        {
            NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "RemoveAt", parameterName);

            int index = IndexOf(parameterName);
            NpgsqlParameter existing = InternalList[index];
            this.InternalList.RemoveAt(index);
            existing.Collection = null;
            this.InvalidateHashLookups();
        }

Same methods

NpgsqlParameterCollection::RemoveAt ( int index ) : void