Label.exists(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 exists 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.
Indicates whether a specified label ID exists.
public:
bool exists(System::String ^ label);
[System.Obsolete("The exists 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 bool exists (string label);
[<System.Obsolete("The exists 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.exists : string -> bool
Public Function exists (label As String) As Boolean
Parameters
- label
- String
The output of the literalStr function from a label ID string that includes the at sign (@).
Returns
true if the label ID exists; otherwise, false.
- Attributes
Remarks
The format of the label parameter value must resemble literalStr("@SYS24359").