Constants Class
Note: This API is now obsolete.
Creates a UI element that allows user invocation of ASP.NET event handlers and provides a way to post user input from UI elements back to the server. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
[ObsoleteAttribute(L"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.")] [AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class Constants
The Constants type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Constants | Initializes a new instance of the Constants class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | AlternatingItemTemplateTag | Contains the tag name for the AlternatingItem template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | ContentTemplateTag | Contains the tag name for the Content template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | DefaultSessionsStateHistorySize | Contains the default depth of the history stack. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | EventArgumentID | The argument associated with the postback event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | EventSourceID | Contains the query String name of the event target (the control that generated the postback). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | FooterTemplateTag | Contains the tag name for the Footer template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | FormIDPrefix | Contains the prefix of a form in a URL. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | HeaderTemplateTag | Contains the tag name for the HeaderTemplate. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | ItemDetailsTemplateTag | Contains the tag name for the ItemDetails template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | ItemTemplateTag | Contains the tag name for the Item template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | LabelTemplateTag | Contains the tag name for the Label template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | OptimumPageWeightParameter | Contains the default page weight. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | PagePrefix | Contains a page number delimiter used to ensure proper page numbering in a postback. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | ScreenCharactersHeightParameter | Contains the default for the height of the characters on the screen. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | ScriptTemplateTag | Contains the tag name for the Script template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | SelectionListSpecialCharacter | Contains the character used in CheckBox IDs for cHTML. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | SeparatorTemplateTag | Contains the tag name for the Separator template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | SymbolProtocol | Contains the characters used to denote the beginning of an i-mode or J-Phone symbol scheme. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | UniqueFilePathSuffixVariable | Contains the query String name of the unique file path suffix. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | UniqueFilePathSuffixVariableWithoutEqual | Contains the query String name of the unique file path suffix, but no equal sign. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
The following table describes the read-only Constants class members you can use.
Member | Description |
|---|---|
AlternatingItemTemplateTag | Contains the tag name for the AlternatingItem template. |
ContentTemplateTag | Contains the tag name for the Content template. |
DefaultSessionsStateHistorySize | Contains the default depth of the history stack. |
EventArgumentID | The argument associated with the postback event. |
EventSourceID | Contains the query String name of the event target (the control that generated the postback). |
FooterTemplateTag | Contains the tag name for the Footer template. |
FormIDPrefix | Contains the prefix of a form in a URL. |
HeaderTemplateTag | Contains the tag name for the HeaderTemplate. |
ItemDetailsTemplateTag | Contains the tag name for the ItemDetails template. |
ItemTemplateTag | Contains the tag name for the Item template. |
LabelTemplateTag | Contains the tag name for the Label template. |
OptimumPageWeightParameter | Contains the default page weight. |
PagePrefix | Contains a page number delimiter used to ensure proper page numbering in a postback. |
ScreenCharactersHeightParameter | Contains the default for the height of the characters on the screen. |
ScriptTemplateTag | Contains the tag name for the Script template. |
SelectionListSpecialCharacter | Contains the character used in CheckBox IDs for cHTML. |
SeparatorTemplateTag | Contains the tag name for the Separator template. |
SymbolProtocol | Contains the characters used to denote the beginning of an i-mode or J-Phone symbol scheme. |
UniqueFilePathSuffixVariable | Contains the query String name of the unique file path suffix. |
UniqueFilePathSuffixVariableWithoutEqual | Contains the query String name of the unique file path suffix, but no equal sign. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.



