HttpFileCollection.GetMultiple(String) 方法

定义

返回与指定名称相匹配的所有文件。Returns all files that match the specified name.

public:
 System::Collections::Generic::IList<System::Web::HttpPostedFile ^> ^ GetMultiple(System::String ^ name);
public System.Collections.Generic.IList<System.Web.HttpPostedFile> GetMultiple (string name);
member this.GetMultiple : string -> System.Collections.Generic.IList<System.Web.HttpPostedFile>
Public Function GetMultiple (name As String) As IList(Of HttpPostedFile)

参数

name
String

要匹配的名称。The name to match.

返回

IList<HttpPostedFile>

文件集合。The collection of files.

注解

此方法会在每次调用时返回一个新的集合实例。This method returns a new collection instance each time it is called. 每个请求应为每个名称调用一次此方法。This method should be called once per name per request.

适用于