Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GetTotalCount<T> Method
The data collection.

In This Topic
    GetTotalCount<T> Method
    In This Topic
    Gets the total number of items in the collection.
    Syntax
    'Declaration
     
    
    Public Shared Function GetTotalCount(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T) _
    ) As Integer
    public static int GetTotalCount<T>( 
       IDataCollection<T> dataCollection
    )
    where T: class

    Parameters

    dataCollection
    The data collection.

    Type Parameters

    T
    See Also