Redigera

Dela via


ControlAdapter.GetDefaultLabel(Int32) Method

Definition

Returns the localized default string for the label control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 System::String ^ GetDefaultLabel(int labelID);
protected string GetDefaultLabel (int labelID);
member this.GetDefaultLabel : int -> string
Protected Function GetDefaultLabel (labelID As Integer) As String

Parameters

labelID
Int32

The identifier for the label.

Returns

The localized default string for the label control.

Exceptions

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

Remarks

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

Applies to