Share via


HttpFileCollection.AllKeys Proprietà

Definizione

Ottiene una matrice di stringhe contenente le chiavi (nomi) di tutti i membri della raccolta file.

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()

Valore della proprietà

String[]

Matrice di nomi file.

Esempio

Nell'esempio seguente vengono caricati i HttpFileCollection nomi trasmessi da un client in una matrice di stringhe.

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

Si applica a

Vedi anche