Export (0) Print
Expand All

HttpFileCollectionWrapper.Get Method (Int32)

Returns the posted file object at the specified index.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public override HttpPostedFileBase Get(
	int index
)

Parameters

index
Type: System.Int32

The index of the item to return.

Return Value

Type: System.Web.HttpPostedFileBase
The posted file object specified by index.

ExceptionCondition
ArgumentOutOfRangeException

index is outside the valid range of indexes for the collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft