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

In This Topic
    AsList<T> Method
    In This Topic
    Gets a list wrapping this data collection.
    Syntax
    'Declaration
     
    
    Public Shared Function AsList(Of T As Class)( _
       ByVal collection As IDataCollection(Of T) _
    ) As IList(Of T)
    public static IList<T> AsList<T>( 
       IDataCollection<T> collection
    )
    where T: class

    Parameters

    collection
    The original data collection.

    Type Parameters

    T
    See Also