Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Common Namespace / CollectionEmulator Class / ToArray<T> Method
The type of the list.
The list to convert.
In This Topic
    ToArray<T> Method (CollectionEmulator)
    In This Topic
    Converts the IList values to a typed array
    Syntax
    [Extension()]
    public static T[] ToArray<T>( 
       IList<T> listToConvert
    )

    Parameters

    listToConvert
    The list to convert.

    Type Parameters

    T
    The type of the list.

    Return Value

    A typed array of values from the list.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also