This documentation is archived and is not being maintained.

HttpFileCollection.AllKeys Property

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

[Visual Basic]
Public ReadOnly Property AllKeys As String ()
[C#]
public string[] AllKeys {get;}
[C++]
public: __property String* get_AllKeys();
[JScript]
public function get AllKeys() : String[];

Property Value

An array of file names.

Example

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

[Visual Basic] 
Dim MyNameArray() As String = Request.Files.AllKeys
 

[C#] 
String[] MyNameArray = Request.Files.AllKeys;
 

[C++] 
String* MyNameArray[] = Request->Files->AllKeys;
 

[JScript] 
var myNameArray : System.String[] = Request.Files.AllKeys
 

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpFileCollection Class | HttpFileCollection Members | System.Web Namespace

Show: