HttpFileCollectionWrapper.Get 메서드

정의

컬렉션의 게시된 파일 개체를 이름 또는 인덱스 기준으로 반환합니다.

오버로드

Get(Int32)

지정된 인덱스에서 게시된 파일 개체를 반환합니다.

Get(String)

컬렉션에서 지정된 이름을 가진 게시된 파일 개체를 반환합니다.

Get(Int32)

지정된 인덱스에서 게시된 파일 개체를 반환합니다.

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

매개 변수

index
Int32

반환할 항목의 인덱스입니다.

반환

HttpPostedFileBase

index로 지정된, 게시된 파일 개체입니다.

예외

index가 컬렉션의 유효한 인덱스 범위를 벗어납니다.

적용 대상

Get(String)

컬렉션에서 지정된 이름을 가진 게시된 파일 개체를 반환합니다.

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

매개 변수

name
String

반환할 개체의 이름입니다.

반환

HttpPostedFileBase

발견되는 경우 name에 의해 지정된, 게시된 파일 개체이고, 그렇지 않으면 null입니다.

적용 대상