HttpFileCollectionWrapper.Item Property (String)


Gets the posted file object that has the specified name from the collection.

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

public override HttpPostedFileBase this[
	string name
] { get; }


Type: System.String

The name of the object to get.

Property Value

Type: System.Web.HttpPostedFileBase

The posted file object specified by name, if found; otherwise, null.

.NET Framework
Available since 3.5
Return to top