ControlAdapter.GetDefaultLabel Method

Returns the localized default string for the label control.

Namespace: System.Web.UI.MobileControls.Adapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected:
String^ GetDefaultLabel (
	int labelID
)
protected String GetDefaultLabel (
	int labelID
)
protected function GetDefaultLabel (
	labelID : int
) : String
Not applicable.

Parameters

labelID

The identifier for the label.

Return Value

The localized default string for the label control.

Exception typeCondition

ArgumentException

labelID is less than zero, or greater than or equal to the number of valid values.

The following table shows the values for labelID parameters:

LabelID

Value

BackLabel

0

GoLabel

1

OKLabel

2

MoreLabel

3

OptionsLabel

4

NextLabel

5

PreviousLabel

6

LinkLabel

7

CallLabel

8

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: