Click or drag to resize

WritableCollectionT Methods

The WritableCollectionT type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds an object to the end of the WritableCollectionT.
Public methodAddRange Adds the elements of the specified collection to the end of the WritableCollectionT.
Public methodClear Removes all elements from the WritableCollectionT.
Public methodContains Determines whether an element is in the WritableCollectionT.
Public methodCopyTo Copies the entire WritableCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodEquals Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object))
Public methodGetEnumerator Returns an enumerator that iterates through the WritableCollectionT.
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the WritableCollectionT that extends from the specified index to the last element.
Public methodInsert Inserts an element into the WritableCollectionT at the specified index.
Public methodRead Reads the object from the specified reader.
Public methodRemove Removes the first occurrence of a specific object from the WritableCollectionT.
Public methodRemoveAt Removes the element at the specified index of the WritableCollectionT.
Public methodToString Returns a String that represents this instance.
(Overrides ObjectToString)
Public methodWrite Writes the object to the specified writer.
Top
Extension Methods
 NameDescription
Public Extension MethodGetSequenceHashCodeT Gets the hash code for the specified sequence of elements.
(Defined by ListExtensions)
Public Extension MethodOrderByT, TKey Sorts the elements of a sequence in ascending or descending order according to a key.
(Defined by ListExtensions)
Public Extension MethodRandomizeT Randomizes the specified list.
(Defined by ListExtensions)
Public Extension MethodRandomizeT Randomizes the specified list.
(Defined by ListExtensions)
Public Extension MethodSwapT Swaps two elements in the specified list.
(Defined by ListExtensions)
Public Extension MethodToDelimitedStringT Creates a string with the items of a list separated by a comma.
(Defined by ListExtensions)
Public Extension MethodToDelimitedStringT Creates a string with the items of a list separated by the specified delimiter.
(Defined by ListExtensions)
Top
See Also