Share via


Label.extractString(String) Method

Definition

Returns the text that is associated with a specified label ID.

public:
 System::String ^ extractString(System::String ^ label);
public string extractString (string label);
member this.extractString : string -> string
Public Function extractString (label As String) As String

Parameters

label
String

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

Returns

A string data type value that indicates the text that is associated with the specified label ID.

Remarks

If you specify a label ID that does not exist, the method returns the specified ID as a string. If you do not include the @ in the label parameter value, the method returns the label ID.

Applies to