Returns a new IList object containing all Upload objects which are being kept in uploads collection.

Namespace:  EasyAlgo.EAUpload
Assembly:  EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.2.0

Syntax

C#
public static IList GetUploads()
Visual Basic (Declaration)
Public Shared Function GetUploads As IList

Return Value

A new IList object containing the collection of Upload objects which are being kept in uploads collection.
nullNothingnullptra null reference (Nothing in Visual Basic) if uploads collection is empty.

Remarks

Note: EAUpload component can process massive amount of concurrent uploads. Upload objects collection can be used by multiple threads simultaneously, therefore be careful when you use GetUploads()()() method.

Examples

The following code example shows how to work with UploadsManager class.
CopyC#
Upload _upload;
IList _WorkingUploads = UploadsManager.GetUploads();

foreach (Object item in _WorkingUploads) // Iterate through elements.
{
    _upload = (Upload)item;

    // do something useful      
}
CopyVB.NET
Dim _upload As Upload 
Dim _WorkingUploads As IList = UploadsManager.GetUploads()

For Each item As Object In _WorkingUploads   ' Iterate through elements.


    _upload = CType(item, Upload)

    ' do something useful


Next

See Also