[This is preliminary documentation and is subject to change.]
The IReadOnlyList<(Of <(<'T>)>)> type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Contains | Determines whether an element is in the IReadOnlyList<(Of <(<'T>)>)>. | |
| ConvertAll<(Of <<'(TOutput>)>>) | Converts the elements in the current IReadOnlyList<(Of <(<'T>)>)> to another type, and returns a list containing the converted elements. | |
| CopyTo(array<T>[]()[][]) | Copies the entire IReadOnlyList<(Of <(<'T>)>)> to a compatible one-dimensional array, starting at the beginning of the target array. | |
| CopyTo(array<T>[]()[][], Int32) | Copies the entire IReadOnlyList<(Of <(<'T>)>)> to a compatible one-dimensional array, starting at the specified index of the target array. | |
| CopyTo(Int32, array<T>[]()[][], Int32, Int32) | Copies a range of elements from the IReadOnlyList<(Of <(<'T>)>)> to a compatible one-dimensional array, starting at the specified index of the target array. | |
| Exists | Determines whether the IReadOnlyList<(Of <(<'T>)>)> contains elements that match the conditions defined by the specified predicate. | |
| Find | Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire IReadOnlyList<(Of <(<'T>)>)>. | |
| FindAll | Retrieves the all the elements that match the conditions defined by the specified predicate. | |
| FindIndex(Predicate<(Of <<'(T>)>>)) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire IReadOnlyList<(Of <(<'T>)>)>. | |
| FindIndex(Int32, Predicate<(Of <<'(T>)>>)) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that extends from the specified index to the last element. | |
| FindIndex(Int32, Int32, Predicate<(Of <<'(T>)>>)) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that starts at the specified index and contains the specified number of elements. | |
| FindLast | Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire IReadOnlyList<(Of <(<'T>)>)>. | |
| FindLastIndex(Predicate<(Of <<'(T>)>>)) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire IReadOnlyList<(Of <(<'T>)>)>. | |
| FindLastIndex(Int32, Predicate<(Of <<'(T>)>>)) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that extends from the first element to the specified index. | |
| FindLastIndex(Int32, Int32, Predicate<(Of <<'(T>)>>)) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that contains the specified number of elements and ends at the specified index. | |
| ForEach | Performs the specified action on each element of the IReadOnlyList<(Of <(<'T>)>)>. | |
| GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<(Of <(<'T>)>)>.) | |
| GetRange | Creates a shallow copy of a range of elements in the source IReadOnlyList<(Of <(<'T>)>)>. | |
| IndexOf(T) | Searches for the specified object and returns the zero-based index of the first occurrence within the entire IReadOnlyList<(Of <(<'T>)>)>. | |
| IndexOf(T, Int32) | Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that extends from the specified index to the last element. | |
| IndexOf(T, Int32, Int32) | Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that starts at the specified index and contains the specified number of elements. | |
| LastIndexOf(T) | Searches for the specified object and returns the zero-based index of the last occurrence within the entire IReadOnlyList<(Of <(<'T>)>)>. | |
| LastIndexOf(T, Int32) | Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that extends from the first element to the specified index. | |
| LastIndexOf(T, Int32, Int32) | Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the IReadOnlyList<(Of <(<'T>)>)> that contains the specified number of elements and ends at the specified index. | |
| ToArray | Copies the elements of the IReadOnlyList<(Of <(<'T>)>)> to a new array. | |
| TrueForAll | Determines whether every element in the IReadOnlyList<(Of <(<'T>)>)> matches the conditions defined by the specified predicate. |
Extension Methods
| Name | Description | |
|---|---|---|
| IndexOf<(Of <<'(T>)>>) | Gets index of first occurence of given item in given collection (Defined by EnumerableT.) | |
| Last<(Of <<'(T>)>>) | Gets last item in collection (Defined by CollectionTools.) | |
| UnionAll<(Of <<'(T>)>>)(array<IEnumerable<(Of <<'(T>)>>)>[]()[][]) | Overloaded. Creates union of given collection with other given collections (Defined by EnumerableT.) | |
| UnionAll<(Of <<'(T>)>>)(IEnumerable<(Of <<'(IEnumerable<(Of <<'(T>)>>)>)>>)) | Overloaded. Creates union of given collection with other given collections (Defined by EnumerableT.) |
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements actually contained in the IReadOnlyList<(Of <(<'T>)>)>. | |
| Item | Gets or sets the element at the specified index. |