Share via


TruncatedCollection<T> Constructor (IQueryable<T>, Int32)

Initializes a new instance of the TruncatedCollection<T> class.

Namespace:  System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    source As IQueryable(Of T), _
    pageSize As Integer _
)
'Usage
Dim source As IQueryable(Of T)
Dim pageSize As Integer 

Dim instance As New TruncatedCollection(source, _
    pageSize)
public TruncatedCollection(
    IQueryable<T> source,
    int pageSize
)
public:
TruncatedCollection(
    IQueryable<T>^ source, 
    int pageSize
)
new : 
        source:IQueryable<'T> * 
        pageSize:int -> TruncatedCollection
public function TruncatedCollection(
    source : IQueryable<T>, 
    pageSize : int
)

Parameters

See Also

Reference

TruncatedCollection<T> Class

TruncatedCollection<T> Overload

System.Web.Http.OData.Query Namespace