pmMDA.NET

PagedListBase.Remove Method 

[This is preliminary documentation and subject to change.]

Removes the first occurrence of the specified value from this list.

public void Remove(
   object value
);

Parameters

value
The item to remove from this list.

Implements

IList.Remove

Remarks

This method uses the IndexOf method to search the first occurrence of the value to remove. This means that the items need to be reloaded until the requested item is found.
Use the RemoveAt method instead of this method if you know the index of the item.

If the specified value could not be found, no error occurs.

Exceptions

Exception TypeCondition
ArgumentException The value is not of type IDataObject.
PagingException The first occurrence of the specified item was found but it could not be removed.

See Also

PagedListBase Class | PmMda.Net.Dog.Paging Namespace