แก้ไข

แชร์ผ่าน


HttpFileCollection.AllKeys Property

Definition

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

public:
 property cli::array <System::String ^> ^ AllKeys { cli::array <System::String ^> ^ get(); };
public string[] AllKeys { get; }
member this.AllKeys : string[]
Public ReadOnly Property AllKeys As String()

Property Value

String[]

An array of file names.

Examples

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

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

Applies to

See also