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

In This Topic
    CreateNewItem<T> Method (IDataCollectionEx)
    In This Topic
    Creates a new item of the collection.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateNewItem(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T) _
    ) As T
    public static T CreateNewItem<T>( 
       IDataCollection<T> dataCollection
    )
    where T: class

    Parameters

    dataCollection
    The data collection.

    Type Parameters

    T
    See Also