Controller.View 메서드

정의

오버로드

View(String, String, Object)

ViewResult 뷰 이름, master 페이지 이름 및 보기를 렌더링하는 모델을 사용하여 개체를 만듭니다.

View()

뷰를 ViewResult 응답에 렌더링하는 개체를 만듭니다.

View(Object)

뷰를 ViewResult 응답에 렌더링하는 모델을 사용하여 개체를 만듭니다.

View(String)

뷰를 ViewResult 렌더링하는 뷰 이름을 사용하여 개체를 만듭니다.

View(IView)

ViewResult 지정된 IView 개체를 렌더링하는 개체를 만듭니다.

View(String, Object)

ViewResult 지정된 IView 개체를 렌더링하는 개체를 만듭니다.

View(String, String)

ViewResult 뷰 이름과 master 페이지 이름을 사용하여 뷰를 응답에 렌더링하는 개체를 만듭니다.

View(IView, Object)

지정된 개체를 ViewResult 렌더링하는 개체를 IView 만듭니다.

View(String, String, Object)

ViewResult 뷰 이름, master 페이지 이름 및 보기를 렌더링하는 모델을 사용하여 개체를 만듭니다.

protected internal virtual System.Web.Mvc.ViewResult View (string viewName, string masterName, object model);
abstract member View : string * string * obj -> System.Web.Mvc.ViewResult
override this.View : string * string * obj -> System.Web.Mvc.ViewResult
Protected Friend Overridable Function View (viewName As String, masterName As String, model As Object) As ViewResult

매개 변수

viewName
String

응답에 렌더링되는 뷰의 이름입니다.

masterName
String

뷰를 렌더링할 때 사용할 마스터 페이지 또는 템플릿의 이름입니다.

model
Object

뷰에서 렌더링되는 모델입니다.

반환

뷰 결과입니다.

적용 대상

View()

뷰를 ViewResult 응답에 렌더링하는 개체를 만듭니다.

protected internal System.Web.Mvc.ViewResult View ();
member this.View : unit -> System.Web.Mvc.ViewResult
Protected Friend Function View () As ViewResult

반환

View() 뷰를 응답에 렌더링하는 결과입니다.

적용 대상

View(Object)

뷰를 ViewResult 응답에 렌더링하는 모델을 사용하여 개체를 만듭니다.

protected internal System.Web.Mvc.ViewResult View (object model);
member this.View : obj -> System.Web.Mvc.ViewResult
Protected Friend Function View (model As Object) As ViewResult

매개 변수

model
Object

뷰에서 렌더링되는 모델입니다.

반환

뷰 결과입니다.

적용 대상

View(String)

뷰를 ViewResult 렌더링하는 뷰 이름을 사용하여 개체를 만듭니다.

protected internal System.Web.Mvc.ViewResult View (string viewName);
member this.View : string -> System.Web.Mvc.ViewResult
Protected Friend Function View (viewName As String) As ViewResult

매개 변수

viewName
String

응답에 렌더링되는 뷰의 이름입니다.

반환

뷰 결과입니다.

적용 대상

View(IView)

ViewResult 지정된 IView 개체를 렌더링하는 개체를 만듭니다.

protected internal System.Web.Mvc.ViewResult View (System.Web.Mvc.IView view);
member this.View : System.Web.Mvc.IView -> System.Web.Mvc.ViewResult
Protected Friend Function View (view As IView) As ViewResult

매개 변수

view
IView

응답에 렌더링되는 뷰입니다.

반환

뷰 결과입니다.

적용 대상

View(String, Object)

ViewResult 지정된 IView 개체를 렌더링하는 개체를 만듭니다.

protected internal System.Web.Mvc.ViewResult View (string viewName, object model);
member this.View : string * obj -> System.Web.Mvc.ViewResult
Protected Friend Function View (viewName As String, model As Object) As ViewResult

매개 변수

viewName
String

응답에 렌더링되는 뷰입니다.

model
Object

뷰에서 렌더링되는 모델입니다.

반환

뷰 결과입니다.

적용 대상

View(String, String)

ViewResult 뷰 이름과 master 페이지 이름을 사용하여 뷰를 응답에 렌더링하는 개체를 만듭니다.

protected internal System.Web.Mvc.ViewResult View (string viewName, string masterName);
member this.View : string * string -> System.Web.Mvc.ViewResult
Protected Friend Function View (viewName As String, masterName As String) As ViewResult

매개 변수

viewName
String

응답에 렌더링되는 뷰의 이름입니다.

masterName
String

뷰를 렌더링할 때 사용할 마스터 페이지 또는 템플릿의 이름입니다.

반환

뷰 결과입니다.

적용 대상

View(IView, Object)

지정된 개체를 ViewResult 렌더링하는 개체를 IView 만듭니다.

protected internal virtual System.Web.Mvc.ViewResult View (System.Web.Mvc.IView view, object model);
abstract member View : System.Web.Mvc.IView * obj -> System.Web.Mvc.ViewResult
override this.View : System.Web.Mvc.IView * obj -> System.Web.Mvc.ViewResult
Protected Friend Overridable Function View (view As IView, model As Object) As ViewResult

매개 변수

view
IView

응답에 렌더링되는 뷰입니다.

model
Object

뷰에서 렌더링되는 모델입니다.

반환

뷰 결과입니다.

적용 대상