Editare

Partajați prin


Constants Class

Definition

Caution

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.

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 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
Inheritance
Constants
Attributes

Remarks

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.

Constructors

Constants()

Initializes a new instance of the Constants class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Fields

AlternatingItemTemplateTag

Contains the tag name for the AlternatingItem template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ContentTemplateTag

Contains the tag name for the Content template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DefaultSessionsStateHistorySize

Contains the default depth of the history stack. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

EventArgumentID

The argument associated with the postback event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

FooterTemplateTag

Contains the tag name for the Footer template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

HeaderTemplateTag

Contains the tag name for the HeaderTemplate. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemDetailsTemplateTag

Contains the tag name for the ItemDetails template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemTemplateTag

Contains the tag name for the Item template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

LabelTemplateTag

Contains the tag name for the Label template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OptimumPageWeightParameter

Contains the default page weight. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

ScriptTemplateTag

Contains the tag name for the Script template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

SeparatorTemplateTag

Contains the tag name for the Separator template. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)

Applies to

See also