TruncatedCollection<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a class that truncates a collection to a given page size.
public class TruncatedCollection<T> : System.Collections.Generic.List<T>, Microsoft.AspNet.OData.Query.ITruncatedCollection, System.Collections.Generic.IEnumerable<T>
type TruncatedCollection<'T> = class
inherit List<'T>
interface ITruncatedCollection
interface IEnumerable
interface seq<'T>
Public Class TruncatedCollection(Of T)
Inherits List(Of T)
Implements IEnumerable(Of T), ITruncatedCollection
Type Parameters
- T
The collection element type.
- Inheritance
-
List<T>TruncatedCollection<T>
- Implements
Constructors
TruncatedCollection<T>(IEnumerable<T>, Int32, Nullable<Int64>) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IEnumerable<T>, Int32) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IQueryable<T>, Int32, Boolean) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IQueryable<T>, Int32, Nullable<Int64>, Boolean) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IQueryable<T>, Int32, Nullable<Int64>) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IQueryable<T>, Int32) |
Initializes a new instance of the TruncatedCollection<T> class. |
Properties
IsTruncated |
Gets a value representing if the collection is truncated or not. |
PageSize |
Gets the page size the collection is truncated to. |
TotalCount | System.Collections.Generic.List`1.TotalCount |