Label.delete(String) Method

Definition

Caution

The delete 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.

Deletes a specified label.

public:
 bool delete(System::String ^ label);
[System.Obsolete("The delete 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 delete (string label);
[<System.Obsolete("The delete 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.delete : string -> bool
Public Function delete (label As String) As Boolean

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

true if the label ID is deleted; otherwise, false.

Attributes

Applies to