ViewTemplateUserControl<TModel> クラス

定義

オブジェクトのコンテナーを TemplateInfo 提供します。

public class ViewTemplateUserControl<TModel> : System.Web.Mvc.ViewUserControl<TModel>
type ViewTemplateUserControl<'Model> = class
    inherit ViewUserControl<'Model>
Public Class ViewTemplateUserControl(Of TModel)
Inherits ViewUserControl(Of TModel)

型パラメーター

TModel

モデルの型。

継承
ViewTemplateUserControl<TModel>
派生

コンストラクター

ViewTemplateUserControl<TModel>()

ViewTemplateUserControl<TModel> クラスの新しいインスタンスを初期化します。

プロパティ

Ajax

ビューの AJAX スクリプトを取得します。

(継承元 ViewUserControl<TModel>)
FormattedModelValue

書式適用済みの値を取得します。

Html

ビューの HTML を取得します。

(継承元 ViewUserControl<TModel>)
Model

モデルを取得します。

(継承元 ViewUserControl<TModel>)
TempData

一時データ ディクショナリを取得します。

(継承元 ViewUserControl)
Url

ビューの URL を取得します。

(継承元 ViewUserControl)
ViewBag

ビュー バッグを取得します。

(継承元 ViewUserControl)
ViewContext

ビュー コンテキストを取得または設定します。

(継承元 ViewUserControl)
ViewData

ビュー データを取得または設定します。

(継承元 ViewUserControl<TModel>)
ViewDataKey

ビュー データ キーを取得または設定します。

(継承元 ViewUserControl)
Writer

ビューを応答に表示するために使用されるライターを取得します。

(継承元 ViewUserControl)

メソッド

EnsureViewData()

ビュー データが存在する ViewDataDictionary 場合、ビュー データがユーザー コントロールのオブジェクトに確実に追加されるようにします。

(継承元 ViewUserControl)
RenderView(ViewContext)

指定されたビュー コンテキストを使用してビューを表示します。

(継承元 ViewUserControl)
SetTextWriter(TextWriter)
古い.

ビューを応答に表示するために使用するテキスト ライターを設定します。

(継承元 ViewUserControl)
SetViewData(ViewDataDictionary)

ビューのビュー データを設定します。

(継承元 ViewUserControl<TModel>)

適用対象