.NET Framework Class Library
Collection<(Of <(T>)>) Members

Provides the base class for a generic collection.

The Collection<(Of <(T>)>) type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCollection<(Of <(T>)>)Overloaded. Initializes a new instance of the Collection<(Of <(T>)>) class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAddAdds an object to the end of the Collection<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClearRemoves all elements from the Collection<(Of <(T>)>).
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClearItemsRemoves all elements from the Collection<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkContainsDetermines whether an element is in the Collection<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCopyToCopies the entire Collection<(Of <(T>)>) to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEnumeratorReturns an enumerator that iterates through the Collection<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertInserts an element into the Collection<(Of <(T>)>) at the specified index.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertItemInserts an element into the Collection<(Of <(T>)>) at the specified index.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveRemoves the first occurrence of a specific object from the Collection<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveAtRemoves the element at the specified index of the Collection<(Of <(T>)>).
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveItemRemoves the element at the specified index of the Collection<(Of <(T>)>).
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSetItemReplaces the element at the specified index.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodAggregateApplies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension MethodAllDetermines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension MethodAnyOverloaded. Determines whether any element of a sequence exists or satisfies a condition.
Public Extension MethodAsEnumerableReturns the input typed as IEnumerable<(Of <(T>)>). (Defined by Enumerable.)
Public Extension MethodAsQueryableOverloaded. Converts an IEnumerable or generic IEnumerable<(Of <(T>)>) to an IQueryable or generic IQueryable<(Of <(T>)>).
Public Extension MethodAverageOverloaded. Computes the average of a sequence of numeric values.
Public Extension MethodCastConverts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodConcatConcatenates two sequences. (Defined by Enumerable.)
Public Extension MethodContainsOverloaded. Determines whether a sequence contains a specified element.
Public Extension MethodCountOverloaded. Returns the number of elements in a sequence.
Public Extension MethodDefaultIfEmptyOverloaded. Returns the elements of an IEnumerable<(Of <(T>)>), or a default valued singleton collection if the sequence is empty.
Public Extension MethodDistinctOverloaded. Returns distinct elements from a sequence.
Public Extension MethodElementAtReturns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension MethodElementAtOrDefaultReturns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension MethodExceptOverloaded. Produces the set difference of two sequences.
Public Extension MethodFirstOverloaded. Returns the first element of a sequence.
Public Extension MethodFirstOrDefaultOverloaded. Returns the first element of a sequence, or a default value if no element is found.
Public Extension MethodIntersectOverloaded. Produces the set intersection of two sequences.
Public Extension MethodLastOverloaded. Returns the last element of a sequence.
Public Extension MethodLastOrDefaultOverloaded. Returns the last element of a sequence, or a default value if no element is found.
Public Extension MethodLongCountOverloaded. Returns an Int64 that represents the number of elements in a sequence.
Public Extension MethodMaxOverloaded. Returns the maximum value in a sequence of values.
Public Extension MethodMinOverloaded. Returns the minimum value in a sequence of values.
Public Extension MethodOfTypeFilters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension MethodReverseInverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension MethodSequenceEqualOverloaded. Determines whether two sequences are equal according to an equality comparer.
Public Extension MethodSingleOverloaded. Returns a single, specific element of a sequence of values.
Public Extension MethodSingleOrDefaultOverloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found.
Public Extension MethodSkipBypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension MethodSkipWhileOverloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public Extension MethodSumOverloaded. Computes the sum of a sequence of numeric values.
Public Extension MethodTakeReturns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension MethodTakeWhileOverloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
Public Extension MethodToArrayCreates an array from a IEnumerable<(Of <(T>)>). (Defined by Enumerable.)
Public Extension MethodToListCreates a List<(Of <(T>)>) from an IEnumerable<(Of <(T>)>). (Defined by Enumerable.)
Public Extension MethodUnionOverloaded. Produces the set union of two sequences.
Public Extension MethodWhereOverloaded. Filters a sequence of values based on a predicate.
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCountGets the number of elements actually contained in the Collection<(Of <(T>)>).
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkItemGets or sets the element at the specified index.
Protected propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkItemsGets a IList<(Of <(T>)>) wrapper around the Collection<(Of <(T>)>).
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.AddAdds an item to the IList.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.ContainsDetermines whether the IList contains a specific value.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection..::.CopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIEnumerable..::.GetEnumeratorReturns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.IndexOfDetermines the index of a specific item in the IList.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.InsertInserts an item into the IList at the specified index.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.IsFixedSizeGets a value indicating whether the IList has a fixed size.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection<(Of <(T>)>)..::.IsReadOnlyGets a value indicating whether the ICollection<(Of <(T>)>) is read-only.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.IsReadOnlyGets a value indicating whether the IList is read-only.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection..::.IsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe).
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.ItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIList..::.RemoveRemoves the first occurrence of a specific object from the IList.
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkICollection..::.SyncRootGets an object that can be used to synchronize access to the ICollection.
Top
See Also

Reference

Tags :


Page view tracker