Compartilhar via


TruncatedCollection<T> Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod TruncatedCollection<T>(IEnumerable<T>, Int32)

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

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

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

See Also

TruncatedCollection<T> Class
System.Web.Http.OData.Query Namespace

Return to top

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

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

Syntax

public TruncatedCollection(
    IEnumerable<T> source,
    int pageSize
)
public:
TruncatedCollection(
    IEnumerable<T>^ source,
    int pageSize
)
new : 
        source:IEnumerable<'T> *
        pageSize:int -> TruncatedCollection
Public Sub New (
    source As IEnumerable(Of T),
    pageSize As Integer
)

Parameters

Return to top

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

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

Syntax

public TruncatedCollection(
    IQueryable<T> source,
    int pageSize
)
public:
TruncatedCollection(
    IQueryable<T>^ source,
    int pageSize
)
new : 
        source:IQueryable<'T> *
        pageSize:int -> TruncatedCollection
Public Sub New (
    source As IQueryable(Of T),
    pageSize As Integer
)

Parameters

Return to top