UnvalidatedRequestValuesWrapper.Files 屬性

定義

取得用戶端上傳檔案的集合,而不觸發 ASP.NET 要求驗證。Gets the collection of files that the client uploaded, without triggering ASP.NET request validation.

public:
 virtual property System::Web::HttpFileCollectionBase ^ Files { System::Web::HttpFileCollectionBase ^ get(); };
public override System.Web.HttpFileCollectionBase Files { get; }
member this.Files : System.Web.HttpFileCollectionBase
Public Overrides ReadOnly Property Files As HttpFileCollectionBase

屬性值

HttpFileCollectionBase

來自 HTTP 要求的檔案。The files from the HTTP request.

備註

重要

如果您使用此屬性,則必須手動檢查資料是否有潛在的跨網站腳本攻擊。If you use this property, you must manually check the data for potential cross-site scripting attacks.

適用於