Controller.View メソッド

定義

オーバーロード

View(String, String, Object)

ビュー名 ViewResult 、マスター ページ名、およびビューをレンダリングするモデルを使用してオブジェクトを作成します。

View()

応答に ViewResult ビューをレンダリングする オブジェクトを作成します。

View(Object)

応答にビューを ViewResult レンダリングするモデルを使用してオブジェクトを作成します。

View(String)

ビューを ViewResult レンダリングするビュー名を使用してオブジェクトを作成します。

View(IView)

指定した ViewResult IView オブジェクトをレンダリングする オブジェクトを作成します。

View(String, Object)

指定した ViewResult IView オブジェクトをレンダリングする オブジェクトを作成します。

View(String, String)

ViewResultビュー名とマスター ページ名を使用してオブジェクトを作成し、応答にビューをレンダリングします。

View(IView, Object)

指定したIViewオブジェクトをViewResultレンダリングする オブジェクトを作成します。

View(String, String, Object)

ビュー名 ViewResult 、マスター ページ名、およびビューをレンダリングするモデルを使用してオブジェクトを作成します。

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ビュー名とマスター ページ名を使用してオブジェクトを作成し、応答にビューをレンダリングします。

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)

指定したIViewオブジェクトをViewResultレンダリングする オブジェクトを作成します。

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

ビューによって表示されるモデル。

戻り値

ビューの結果。

適用対象