HttpFileCollection.AllKeys プロパティ

定義

ファイル コレクション内のすべてのメンバーのキー (名前) を含む文字列配列を取得します。

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

プロパティ値

String[]

ファイル名の配列。

次の例では、クライアントから送信された HttpFileCollection 名を文字列配列に読み込みます。

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

適用対象

こちらもご覧ください