다음을 통해 공유


FileResult(String) 생성자

정의

FileResult 클래스의 새 인스턴스를 초기화합니다.

protected FileResult (string contentType);
new System.Web.Mvc.FileResult : string -> System.Web.Mvc.FileResult
Protected Sub New (contentType As String)

매개 변수

contentType
String

콘텐츠의 형식입니다.

예외

매개 변수가 contentType null이거나 비어 있습니다.

적용 대상