Label.moduleId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The maxLabelId 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 label file ID for a specified label ID.
public:
System::String ^ moduleId(System::String ^ label);
[System.Obsolete("The maxLabelId 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 string moduleId (string label);
[<System.Obsolete("The maxLabelId 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.moduleId : string -> string
Public Function moduleId (label As String) As String
Parameters
- label
- String
A string that specifies the label ID. The string must include the at sign (@) followed by a label file ID and a number.
Returns
A string that indicates the label file ID for a specified label ID.
- Attributes
Remarks
You need to call the searchFirst or searchNext method, and then pass the return value as a parameter to the labelId method.