Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft