Click or drag to resize
IModifiableCollectionT Methods

The IModifiableCollectionT generic type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a new item to the collection
Public methodAddRange(IEnumerableT)
Addes a range of items to the collection.
Public methodAddRange(IEnumerableT, Boolean)
Adds items to the main collection and does a sort operation if any orderby is used in query.
Public methodAny
Return true if there is any item in collection.
(Inherited from IMethodCall.)
Public methodClear
Clears out items from collection.
(Inherited from IModifiableCollection.)
Public methodCount
Returns the count of items in the collection.
(Inherited from IMethodCall.)
Public methodFirst
Returns the first item from the collection.
(Inherited from IMethodCallT.)
Public methodFirstOrDefault
Returns first item or default value if empty.
(Inherited from IMethodCallT.)
Public methodLast
Returns the last item from the collection.
(Inherited from IMethodCallT.)
Public methodLastOrDefault
Returns last item or default value if empty.
(Inherited from IMethodCallT.)
Public methodRemove
Marks an item to be removed.
Public methodSingle
Returns a single item from the collection.
(Inherited from IMethodCallT.)
Public methodSingleOrDefault
Returns a single item or default value if empty.
(Inherited from IMethodCallT.)
Public methodSort
Sorts the collection, using the orderby clause used in query.
(Inherited from IModifiableCollection.)
Top
See Also