Click or drag to resize

ListCollectionT Methods

The ListCollectionT type exposes the following members.

Methods
  Name Description
Public method Add Adds an item to the ICollectionT.
Public method Clear Removes all items from the ICollectionT.
Protected method ClearItems Removes all elements from the CollectionT.
(Overrides CollectionTClearItems)
Public method Contains Determines whether the ICollectionT contains a specific value.
Public method CopyTo Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetEnumerator Returns an enumerator that iterates through the CollectionT.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method IndexOf Determines the index of a specific item in the IListT.
Public method Insert Inserts an item to the IListT at the specified index.
Protected method InsertItem Inserts an element into the CollectionT at the specified index.
(Overrides CollectionTInsertItem(Int32, T))
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Remove Removes the first occurrence of a specific object from the ICollectionT.
Public method RemoveAt Removes the element at the specified index of the CollectionT.
Protected method RemoveItem Removes the element at the specified index of the CollectionT.
(Overrides CollectionTRemoveItem(Int32))
Protected method SetItem Replaces the element at the specified index.
(Overrides CollectionTSetItem(Int32, T))
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method AddRangeT Adds the specified items to the collection.
(Defined by CollectionExtensions)
Public Extension Method AllParallelT Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctByT, TKey Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetRangeT Returns elements in the specified range from the collection.
(Defined by CollectionExtensions)
Public Extension Method IndexOfT Returns the index of the first element of the sequence that satisfies a condition or -1 if no such element is found.
(Defined by CollectionExtensions)
Public Extension Method LoadDelimitedStringT Appends items parsed from delimited string, created with ToDelimitedString, using the default delimiter ("|") into the given list.
(Defined by CollectionExtensions)
Public Extension Method LoadDelimitedStringT Appends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension Method LoadDelimitedStringT Appends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension Method MajorityT Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityT Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityByT, TKey Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityByT, TKey Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MaxT Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxT Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxByT, TKey Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MedianT Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method MiddleT Gets the middle item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method MinT Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinT Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinByT, TKey Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinorityT Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityT Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityByT, TKey Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MinorityByT, TKey Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method ScrambleT Rearranges all the elements in the list into a highly-random order.
(Defined by CollectionExtensions)
Public Extension Method ScrambleT Rearranges all the elements in the list into a repeatable pseudo-random order.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviationT Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviationT Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviationT Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedStringT Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedStringT Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedStringT Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedListT Gets a PagedListT to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Public Extension Method UnscrambleT Rearranges all the elements in the list previously scrambled with ScrambleTSource(IListTSource, Int32) back into their original order.
(Defined by CollectionExtensions)
Public Extension Method UpdateRangeT Updates collection starting at the index with the specified items.
(Defined by CollectionExtensions)
Top
See Also