Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
List(T) Class
 List(T) Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
List<(Of <(T>)>) Members

Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.

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

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkList<(Of <(T>)>)Overloaded. Initializes a new instance of the List<(Of <(T>)>) class.
Top
  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAddAdds an object to the end of the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAddRangeAdds the elements of the specified collection to the end of the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAsReadOnlyReturns a read-only IList<(Of <(T>)>) wrapper for the current collection.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkBinarySearchOverloaded. Uses a binary search algorithm to locate a specific element in the sorted List<(Of <(T>)>) or a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClearRemoves all elements from the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkContainsDetermines whether an element is in the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkConvertAll<(Of <(TOutput>)>)Converts the elements in the current List<(Of <(T>)>) to another type, and returns a list containing the converted elements.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCopyToOverloaded. Copies the List<(Of <(T>)>) or a portion of it to an array.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkExistsDetermines whether the List<(Of <(T>)>) contains elements that match the conditions defined by the specified predicate.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalize Allows 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 FrameworkFindSearches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindAllRetrieves all the elements that match the conditions defined by the specified predicate.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindIndexOverloaded. Searches for an element that matches the conditions defined by a specified predicate, and returns the zero-based index of the first occurrence within the List<(Of <(T>)>) or a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindLastSearches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindLastIndexOverloaded. Searches for an element that matches the conditions defined by a specified predicate, and returns the zero-based index of the last occurrence within the List<(Of <(T>)>) or a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkForEachPerforms the specified action on each element of the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEnumeratorReturns an enumerator that iterates through the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetRangeCreates a shallow copy of a range of elements in the source List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIndexOfOverloaded. Returns the zero-based index of the first occurrence of a value in the List<(Of <(T>)>) or in a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertInserts an element into the List<(Of <(T>)>) at the specified index.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertRangeInserts the elements of a collection into the List<(Of <(T>)>) at the specified index.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkLastIndexOfOverloaded. Returns the zero-based index of the last occurrence of a value in the List<(Of <(T>)>) or in a portion of it.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseClone Creates 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 List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveAllRemoves the all the elements that match the conditions defined by the specified predicate.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveAtRemoves the element at the specified index of the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveRangeRemoves a range of elements from the List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReverseOverloaded. Reverses the order of the elements in the List<(Of <(T>)>) or a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSortOverloaded. Sorts the elements in the List<(Of <(T>)>) or a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToArrayCopies the elements of the List<(Of <(T>)>) to a new array.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkTrimExcessSets the capacity to the actual number of elements in the List<(Of <(T>)>), if that number is less than a threshold value.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkTrueForAllDetermines whether every element in the List<(Of <(T>)>) matches the conditions defined by the specified predicate.
Top
  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
  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCapacityGets or sets the total number of elements the internal data structure can hold without resizing.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCountGets the number of elements actually contained in the List<(Of <(T>)>).
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkItemGets or sets the element at the specified index.
Top
  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<(Of <(T>)>)..::.GetEnumeratorReturns an enumerator that iterates through a collection.
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 to 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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker