HttpFileCollection

Wisej.Core.HttpFileCollection

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.2.0.0)

Provides access to and organizes files uploaded by a client.

public class HttpFileCollection

Properties

AllKeys

String[]: Returns a string array containing the keys (names) of all members in the file collection.

Count

Int32: Returns the number of files in the collection.

Item(index)

HttpPostedFile: Returns the HttpPostedFile at the index.

Item(name)

HttpPostedFile: Returns the HttpPostedFile identified by the specified name .

Methods

Get(index)

Returns the HttpPostedFile at the specified index.

Parameter
Type
Description

index

Index of the file to retrieve.

Returns: HttpPostedFile.

Get(name)

Returns the HttpPostedFile with the specified name.

Parameter
Type
Description

name

The name of the object to be returned from a file collection.

Returns: HttpPostedFile.

GetKey(index)

Returns the name of the file at the specified index .

Parameter
Type
Description

index

Index of the file in the collection.

Returns: String.

GetMultiple(name)

Returns all files that match the specified name.

Parameter
Type
Description

name

The name to match.

Returns: IList<HttpPostedFile>. Returns all files that match the specified name.

Last updated