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
- source
Type: System.Linq.IQueryable<T>
The source.
- pageSize
Type: System.Int32
The page size.