.

Global.UserLabelValidate

Checks to see if the provided user label string is valid.

Version History

Introduced in MPX 2.0.

Type

Boolean

Arguments

 
Argument Type Description
label String The user label string to check.

Common Exceptions

 
Error Occurs when...
UTFError Encoding conversion failed because the system is a mixed endian.

Visual Basic

Syntax

Function UserLabelValidate(label As String) As Boolean

Sample Code

 

Dim labelValid As Boolean

labelValid = mpx.Global.UserLabelValidate("Axis 0")


Sample Application

 

C#

Syntax

bool UserLabelValidate(string label)

Sample Code

 

bool labelValid;

labelValid = Mpx.Global.UserLabelValidate("Axis 0");

 

See Also

User Labels Overview

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering