HttpFileCollectionBase.Get メソッド

定義

派生クラスでオーバーライドされると、名前またはインデックスによってコレクションからポストされたファイル オブジェクトを返します。

オーバーロード

名前 説明
Get(Int32)

派生クラスでオーバーライドされると、指定したインデックス位置にあるポストされたファイル オブジェクトを返します。

Get(String)

派生クラスでオーバーライドされると、指定した名前を持つポストされたファイル オブジェクトをコレクションから返します。

Get(Int32)

派生クラスでオーバーライドされると、指定したインデックス位置にあるポストされたファイル オブジェクトを返します。

public:
 virtual System::Web::HttpPostedFileBase ^ Get(int index);
public virtual System.Web.HttpPostedFileBase Get(int index);
abstract member Get : int -> System.Web.HttpPostedFileBase
override this.Get : int -> System.Web.HttpPostedFileBase
Public Overridable Function Get (index As Integer) As HttpPostedFileBase

パラメーター

index
Int32

返すオブジェクトのインデックス。

返品

indexで指定されたポストされたファイル オブジェクト。

例外

適用対象

Get(String)

派生クラスでオーバーライドされると、指定した名前を持つポストされたファイル オブジェクトをコレクションから返します。

public:
 virtual System::Web::HttpPostedFileBase ^ Get(System::String ^ name);
public virtual System.Web.HttpPostedFileBase Get(string name);
abstract member Get : string -> System.Web.HttpPostedFileBase
override this.Get : string -> System.Web.HttpPostedFileBase
Public Overridable Function Get (name As String) As HttpPostedFileBase

パラメーター

name
String

返すオブジェクトの名前。

返品

nameで指定されたポストされたファイル オブジェクト。

例外

適用対象