Skip to main content
Version: 3.5

HttpFileCollection

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.5.0.0)

Provides access to and organizes files uploaded by a client.

public class HttpFileCollection

Properties​

Instance memberAllKeys​

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

Instance memberCount​

Int32: Returns the number of files in the collection.

Instance memberItem(index)​

HttpPostedFile: Returns the HttpPostedFile at the index.

Instance memberItem(name)​

HttpPostedFile: Returns the HttpPostedFile identified by the specified name .

Methods​

Instance memberGet(index)​

Returns the HttpPostedFile at the specified index.

ParameterTypeDescription
indexInt32Index of the file to retrieve.

Returns: HttpPostedFile.

Instance memberGet(name)​

Returns the HttpPostedFile with the specified name.

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

Returns: HttpPostedFile.

Instance memberGetKey(index)​

Returns the name of the file at the specified index .

ParameterTypeDescription
indexInt32Index of the file in the collection.

Returns: String.

Instance memberGetMultiple(name)​

Returns all files that match the specified name.

ParameterTypeDescription
nameStringThe name to match.

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