Export (0) Print
Expand All

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.

System.Object
  System.Web.UI.MobileControls.Constants

Namespace:  System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[ObsoleteAttribute("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 class Constants

The Constants type exposes the following members.

  NameDescription
Public methodConstantsInitializes 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.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberAlternatingItemTemplateTagContains 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.
Public fieldStatic memberContentTemplateTagContains 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.
Public fieldStatic memberDefaultSessionsStateHistorySizeContains 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.
Public fieldStatic memberEventArgumentIDThe 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.
Public fieldStatic memberEventSourceIDContains 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.
Public fieldStatic memberFooterTemplateTagContains 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.
Public fieldStatic memberFormIDPrefixContains 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.
Public fieldStatic memberHeaderTemplateTagContains 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.
Public fieldStatic memberItemDetailsTemplateTagContains 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.
Public fieldStatic memberItemTemplateTagContains 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.
Public fieldStatic memberLabelTemplateTagContains 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.
Public fieldStatic memberOptimumPageWeightParameterContains 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.
Public fieldStatic memberPagePrefixContains 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.
Public fieldStatic memberScreenCharactersHeightParameterContains 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.
Public fieldStatic memberScriptTemplateTagContains 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.
Public fieldStatic memberSelectionListSpecialCharacterContains 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.
Public fieldStatic memberSeparatorTemplateTagContains 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.
Public fieldStatic memberSymbolProtocolContains 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.
Public fieldStatic memberUniqueFilePathSuffixVariableContains 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.
Public fieldStatic memberUniqueFilePathSuffixVariableWithoutEqualContains 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.
Top

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft