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
- source
Type: System.Collections.Generic.IEnumerable<T>
The source.
- pageSize
Type: System.Int32
The page size.