Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / ToArray Method


In This Topic
    ToArray Method (ListBase<T>)
    In This Topic
    Copies the elements of the ListBase<T> to a new array.
    Syntax
    'Declaration
     
    
    Public Function ToArray() As T()
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim value() As T
     
    value = instance.ToArray()
    public T[] ToArray()

    Return Value

    An array containing copies of the elements of the ListBase<T>.
    See Also