共用方式為


BaseView 類別

定義

警告

This type is for internal use only and will be removed in a future version.

基礎結構

public ref class BaseView abstract
public abstract class BaseView
[System.Obsolete("This type is for internal use only and will be removed in a future version.")]
public abstract class BaseView
type BaseView = class
[<System.Obsolete("This type is for internal use only and will be removed in a future version.")>]
type BaseView = class
Public MustInherit Class BaseView
繼承
BaseView
衍生
屬性

建構函式

BaseView()
已淘汰.

基礎結構

屬性

Context
已淘汰.

要求內容

HtmlEncoder
已淘汰.

用來編碼內容的 Html 編碼器。

JavaScriptEncoder
已淘汰.

用來編碼內容的 JavaScript 編碼器。

Output
已淘汰.

輸出資料流

Request
已淘汰.

要求

Response
已淘汰.

回應

UrlEncoder
已淘汰.

用來編碼內容的 URL 編碼器。

方法

BeginWriteAttribute(String, String, Int32, String, Int32, Int32)
已淘汰.

基礎結構

EndWriteAttribute()
已淘汰.

基礎結構

ExecuteAsync()
已淘汰.

執行個別要求

ExecuteAsync(HttpContext)
已淘汰.

執行個別要求

HtmlEncodeAndReplaceLineBreaks(String)
已淘汰.

基礎結構

Write(HelperResult)
已淘汰.

叫用 WriteTo(TextWriter)

Write(Object)
已淘汰.

轉換為字串和 HTML 編碼

Write(String)
已淘汰.

Html 編碼和寫入

WriteAttributeTo(TextWriter, String, String, String, AttributeValue[])
已淘汰.

將指定的屬性寫入指定的寫入器

WriteAttributeValue(String, Int32, Object, Int32, Int32, Boolean)
已淘汰.

基礎結構

WriteLiteral(Object)
已淘汰.

直接將給定值寫入輸入

WriteLiteral(String)
已淘汰.

直接將給定值寫入輸入

WriteLiteralTo(TextWriter, Object)
已淘汰.

將不含 HTML 編碼的 writer 指定 value 寫入 。

WriteLiteralTo(TextWriter, String)
已淘汰.

將不含 HTML 編碼的指定 value 寫入至 Output

WriteTo(TextWriter, Object)
已淘汰.

將指定的 valuewriter 寫入 。

WriteTo(TextWriter, String)
已淘汰.

使用 HTML 編碼 writer 將指定的 value 寫入 。

適用於