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

Constructors

  NameDescription
Public methodPagedList<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>), Int32, Int32)
Creates a paged list containing objects from the selected enumerable source
Public methodPagedList<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>), Int32, Int32, Int32)
Creates a paged list containing objects from a collection of items

Methods

  NameDescription
Public methodAdd
Adds an object to the end of the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodAddRange
Adds the elements of the specified collection to the end of the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodAsReadOnly
Returns a read-only IList<(Of <(<'T>)>)> wrapper for the current collection.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodBinarySearch
Searches the entire sorted List<(Of <(<'T>)>)> for an element using the default comparer and returns the zero-based index of the element.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodBinarySearch
Searches the entire sorted List<(Of <(<'T>)>)> for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodBinarySearch
Searches a range of elements in the sorted List<(Of <(<'T>)>)> for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodClear
Removes all elements from the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodContains
Determines whether an element is in the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodConvertAll<(Of <<'(TOutput>)>>)
Converts the elements in the current List<(Of <(<'T>)>)> to another type, and returns a list containing the converted elements.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodCopyTo
Copies the entire List<(Of <(<'T>)>)> to a compatible one-dimensional array, starting at the beginning of the target array.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodCopyTo
Copies the entire List<(Of <(<'T>)>)> to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodCopyTo
Copies a range of elements from the List<(Of <(<'T>)>)> to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists
Determines whether the List<(Of <(<'T>)>)> contains elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <(<'T>)>)>.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindAll
Retrieves all the elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindIndex
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 List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindIndex
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 List<(Of <(<'T>)>)> that extends from the specified index to the last element.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindIndex
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 List<(Of <(<'T>)>)> that starts at the specified index and contains the specified number of elements.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindLast
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindLastIndex
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 List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindLastIndex
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 List<(Of <(<'T>)>)> that extends from the first element to the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodFindLastIndex
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 List<(Of <(<'T>)>)> that contains the specified number of elements and ends at the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodForEach
Performs the specified action on each element of the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodGetEnumerator
Returns an enumerator that iterates through the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRange
Creates a shallow copy of a range of elements in the source List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodGetType
Gets 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 entire List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <(<'T>)>)> that extends from the specified index to the last element.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <(<'T>)>)> that starts at the specified index and contains the specified number of elements.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodInsert
Inserts an element into the List<(Of <(<'T>)>)> at the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodInsertRange
Inserts the elements of a collection into the List<(Of <(<'T>)>)> at the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodLastIndexOf
Searches for the specified object and returns the zero-based index of the last occurrence within the entire List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodLastIndexOf
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <(<'T>)>)> that extends from the first element to the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodLastIndexOf
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <(<'T>)>)> that contains the specified number of elements and ends at the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodRemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodRemoveAt
Removes the element at the specified index of the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodRemoveRange
Removes a range of elements from the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodReverse
Reverses the order of the elements in the entire List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodReverse
Reverses the order of the elements in the specified range.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodSort
Sorts the elements in the entire List<(Of <(<'T>)>)> using the default comparer.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodSort
Sorts the elements in the entire List<(Of <(<'T>)>)> using the specified comparer.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodSort
Sorts the elements in the entire List<(Of <(<'T>)>)> using the specified Comparison<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodSort
Sorts the elements in a range of elements in List<(Of <(<'T>)>)> using the specified comparer.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodToArray
Copies the elements of the List<(Of <(<'T>)>)> to a new array.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrimExcess
Sets the capacity to the actual number of elements in the List<(Of <(<'T>)>)>, if that number is less than a threshold value.
(Inherited from List<(Of <(<'T>)>)>.)
Public methodTrueForAll
Determines whether every element in the List<(Of <(<'T>)>)> matches the conditions defined by the specified predicate.
(Inherited from List<(Of <(<'T>)>)>.)

Extension Methods

  NameDescription
Public Extension MethodForEach<(Of <<'(T>)>>)
Executes an action for each element in the source collection.
(Defined by CollectionExtensions.)
Public Extension MethodInPagesOf<(Of <<'(T>)>>)
Filters the incoming store to retrieve pages of a specified size.
(Defined by PagingExtensions.)
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)
Public Extension MethodToPagedList<(Of <<'(T>)>>)
(Defined by PagingExtensions.)

Properties

  NameDescription
Public propertyCapacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from List<(Of <(<'T>)>)>.)
Public propertyCount
Gets the number of elements actually contained in the List<(Of <(<'T>)>)>.
(Inherited from List<(Of <(<'T>)>)>.)
Public propertyHasNextPage
Gets a boolean indicating if there is a next page available
Public propertyHasPreviousPage
Gets a boolean indicating if there is a previous page available
Public propertyIsFirstPage
Gets a boolean indicating if this is the first page
Public propertyIsLastPage
Gets a boolean indicating if this is the last page
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from List<(Of <(<'T>)>)>.)
Public propertyPageCount
The no of pages in this list
Public propertyPageIndex
The index of the page contained in this list
Public propertyPageSize
The size of the page in this list
Public propertyTotalCount
The total number of objects in the data store

See Also