System.Web Namespace HttpFileCollection Class
Gets a string array containing the keys ( names ) of all members in the file collection.
[ VB ]
Public ReadOnly Property AllKeys As String ( )
[ C# ]
public string [ ] AllKeys {get;}
[ C++ ]
public: __property String* get_AllKeys ( );
[ JScript ]
public function get AllKeys ( ) : String [ ];
An array of file names.
The following example loads the HttpFileCollection names transmitted from a client into a string array.
String [ ] myFiles = Request.Files.AllKeys;
Dim myFiles ( ) As String = Request.Files.AllKeys |
|
C# |
VB |
HttpFileCollection Members HttpPostedFile Class