HttpFileCollection

HttpFileCollection

System.Web (system.web.dll)sealed class

This class is a name/value collection of HttpPostedFile instances, which represents incoming files uploaded by a client (using multipart MIME and the HTTP content type of multipart/formdata). The HtmlInputFile class in the System.Web.UI.HtmlControls namespace provides an easier way to allow a user to upload files.

public sealed class HttpFileCollection : System.Collections.Specialized.NameObjectCollectionBase { // Public Instance Properties    public string[ ] AllKeys{get; }    public HttpPostedFile this[int index]{get; }    public HttpPostedFile this[string name]{get; } // Public Instance Methods    public void CopyTo(Array dest, int index);                   // implements ICollection    public HttpPostedFile Get(int index);    public HttpPostedFile Get(string name);    public string GetKey(int index); }

Hierarchy

System.Object System.Collections.Specialized.NameObjectCollectionBase(System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback) HttpFileCollection

Returned By

HttpRequest.Files



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net