DevForce Help Reference
TotalDataSourceItemCount Property


Returns the number of records available to be returned from the datasource.
Syntax
'Declaration
 
Public ReadOnly Property TotalDataSourceItemCount As Integer
'Usage
 
Dim instance As EntityQueryPager(Of T)
Dim value As Integer
 
value = instance.TotalDataSourceItemCount
public int TotalDataSourceItemCount {get;}
Remarks
This property will return -1 until the last page is fetched via a call to MoveToLastPage.
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