VeriStand .NET API Reference

Utilities.IsValidIdentifier Method

Determines whether the specified identifier is a valid identifier in a real-time sequence definition. Valid identifiers cannot contain spaces or special characters (except underscores), and cannot start with a number.

Namespace: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi
Assembly: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Shared Function IsValidIdentifier ( _
	identifier As String _
) As Boolean
C#
public static bool IsValidIdentifier(
	string identifier
)
Visual C++
public:
static bool IsValidIdentifier(
	String^ identifier
)

Parameters

identifier
Type: System.String
The identifier to validate.

Return Value

true (True in Visual Basic) if the identifier is valid. Otherwise, false (False in Visual Basic).

Remarks

Note:

You can use the ConvertToValidIdentifier method to convert an invalid identifier string to a valid one.

See Also

Log in to get a better experience