Partager via


WorkItemCollection.PageSize Property

Gets or sets the number of WorkItems that this collection will keep in cache from the server when a WorkItem that has not been cached is accessed.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Property PageSize As Integer
public int PageSize { get; set; }
public:
property int PageSize {
    int get ();
    void set (int value);
}
member PageSize : int with get, set
function get PageSize () : int 
function set PageSize (value : int)

Property Value

Type: System.Int32
The number of WorkItems to keep in the cache.

Remarks

When a WorkItem that is not in the cache is accessed, it is put in the cache.

.NET Framework Security

See Also

Reference

WorkItemCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace