Share via


TruncatedCollection<T> Constructor (IEnumerable<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 IEnumerable(Of T), _
    pageSize As Integer _
)
'Usage
Dim source As IEnumerable(Of T)
Dim pageSize As Integer 

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

Parameters

See Also

Reference

TruncatedCollection<T> Class

TruncatedCollection<T> Overload

System.Web.Http.OData.Query Namespace