Documents for PDF .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Common Namespace / StructList<T> Class / StructList<T> Constructor / StructList<T> Constructor(Int32)
The number of elements that the new list can initially store.

In This Topic
    StructList<T> Constructor(Int32)
    In This Topic
    Initializes a new instance of the StructList<T> class that is empty and has the specified initial capacity.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal capacity As System.Integer _
    )
    public StructList<T>( 
       System.int capacity
    )

    Parameters

    capacity
    The number of elements that the new list can initially store.
    See Also