DevForce Help Reference
TotalItemCount Property


Returns the total number of items returned by the base query.
Syntax
'Declaration
 
Public ReadOnly Property TotalItemCount As Integer
'Usage
 
Dim instance As EntityQueryPager(Of T)
Dim value As Integer
 
value = instance.TotalItemCount
public int TotalItemCount {get;}
Remarks
This property will return -1 until all pages are fetched or the TotalDataSourceItemCount is known. The number will be an approximation when a large number of inserts and deletes have occurred.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityQueryPager<T> Class
EntityQueryPager<T> Members

Send Feedback