HttpFileCollection.AllKeys Property

 

Gets a string array containing the keys (names) of all members in the file collection.

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

public string[] AllKeys { get; }

Property Value

Type: System.String[]

An array of file names.

The following example loads the HttpFileCollection names transmitted from a client into a string array.

String[] MyNameArray = Request.Files.AllKeys;

.NET Framework
Available since 1.1
Return to top
Show: