QueryResultBase.GetTotalResultRowNumber Method
The GetTotalResultRowNumber method of the QueryResultBase class gets the total number of rows in the result set.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Function GetTotalResultRowNumber As Integer
'Usage
Dim returnValue As Integer
returnValue = Me.GetTotalResultRowNumber()
protected override int GetTotalResultRowNumber()
Return Value
Type: System.Int32
Int32 Total number of rows in the result DataSet.
Remarks
The GetTotalResultRowNumber method gets the total number of rows in the result set. If the DataSet is null, this method returns 0. Override this method if your derived class needs to exclude results from the count.