Constants 類別

定義

警告

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

建立允許使用者引動 ASP.NET 事件處理常式的 UI 項目,並提供可將使用者輸入從 UI 項目貼回伺服器的方法。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

public ref class Constants
public class Constants
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class Constants
type Constants = class
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type Constants = class
Public Class Constants
繼承
Constants
屬性

備註

下表描述您可以使用的唯讀 Constants 類別成員。

member 描述
AlternatingItemTemplateTag 包含 AlternatingItem 樣板的標記名稱。
ContentTemplateTag 包含 Content 樣板的標記名稱。
DefaultSessionsStateHistorySize 包含記錄堆疊的預設深度。
EventArgumentID 與回傳事件相關聯的引數。
EventSourceID 包含事件目標的查詢字串名稱 (產生回傳的控制項)。
FooterTemplateTag 包含 Footer 樣板的標記名稱。
FormIDPrefix 包含 URL 中的表單前置詞。
HeaderTemplateTag 包含 HeaderTemplate 的標記名稱。
ItemDetailsTemplateTag 包含 ItemDetails 樣板的標記名稱。
ItemTemplateTag 包含 Item 樣板的標記名稱。
LabelTemplateTag 包含 Label 樣板的標記名稱。
OptimumPageWeightParameter 包含預設頁面權數。
PagePrefix 包含頁碼分隔符號 (Delimiter),用以確保在回傳中適當編列頁面。
ScreenCharactersHeightParameter 包含螢幕上的字元高度預設值。
ScriptTemplateTag 包含 Script 樣板的標記名稱。
SelectionListSpecialCharacter 包含 cHTML 的 CheckBox ID 所用的字元。
SeparatorTemplateTag 包含 Separator 樣板的標記名稱。
SymbolProtocol 包含字元,用以代表 i-mode 或 J-Phone 符號配置的開頭。
UniqueFilePathSuffixVariable 包含唯一檔案路徑尾碼的查詢字串名稱。
UniqueFilePathSuffixVariableWithoutEqual 包含唯一檔案路徑尾碼的查詢字串名稱,但不含等號。

建構函式

Constants()
已淘汰.

初始化 Constants 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

欄位

AlternatingItemTemplateTag
已淘汰.

包含 AlternatingItem 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ContentTemplateTag
已淘汰.

包含 Content 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

DefaultSessionsStateHistorySize
已淘汰.

包含記錄堆疊的預設深度。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

EventArgumentID
已淘汰.

與回傳事件相關聯的引數。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

EventSourceID
已淘汰.

包含事件目標的查詢字串名稱 (產生回傳的控制項)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

FooterTemplateTag
已淘汰.

包含 Footer 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

FormIDPrefix
已淘汰.

包含 URL 中的表單前置詞。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

HeaderTemplateTag
已淘汰.

包含 HeaderTemplate 的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ItemDetailsTemplateTag
已淘汰.

包含 ItemDetails 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ItemTemplateTag
已淘汰.

包含 Item 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

LabelTemplateTag
已淘汰.

包含 Label 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

OptimumPageWeightParameter
已淘汰.

包含預設頁面權數。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

PagePrefix
已淘汰.

包含頁碼分隔符號 (Delimiter),用以確保在回傳中適當編列頁面。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ScreenCharactersHeightParameter
已淘汰.

包含螢幕上的字元高度預設值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

ScriptTemplateTag
已淘汰.

包含 Script 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

SelectionListSpecialCharacter
已淘汰.

包含 cHTML 的 CheckBox ID 所用的字元。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

SeparatorTemplateTag
已淘汰.

包含 Separator 樣板的標記名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

SymbolProtocol
已淘汰.

包含字元,用以代表 i-mode 或 J-Phone 符號配置的開頭。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

UniqueFilePathSuffixVariable
已淘汰.

包含唯一檔案路徑尾碼的查詢字串名稱。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

UniqueFilePathSuffixVariableWithoutEqual
已淘汰.

包含唯一檔案路徑尾碼的查詢字串名稱,但不含等號。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱