HttpFileCollectionBase.Item Property (String)

 

When overridden in a derived class, gets the posted file object that has the specified name from the collection.

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

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

Parameters

name
Type: System.String

The name of the object to return.

Property Value

Type: System.Web.HttpPostedFileBase

The posted file object that is specified by name.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: