Partilhar via


Label.labelId(String) Method

Definition

Caution

The labelId method is intended for use from the AX Client during design time only. It should not be used anymore. It is replaced with Visual Studio based design tools.

Returns the number that is included in a specified label ID.

public:
 int labelId(System::String ^ label);
[System.Obsolete("The labelId method is intended for use from the AX Client during design time only. It should not be used anymore. It is replaced with Visual Studio based design tools.")]
public int labelId (string label);
[<System.Obsolete("The labelId method is intended for use from the AX Client during design time only. It should not be used anymore. It is replaced with Visual Studio based design tools.")>]
member this.labelId : string -> int
Public Function labelId (label As String) As Integer

Parameters

label
String

A string data type that specifies the label ID. The string must include the at sign (@) followed by a label file ID and a number.

Returns

An integer data type value that indicates the number that is included in a label ID.

Attributes

Remarks

You must call the searchFirst or searchNext method, and then pass the return value as a parameter to this method.

Applies to