Click or drag to resize

CAEXPathBuilderIsValidID Method

Determines whether the specified string can represent an ID

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static bool IsValidID(
	string idString,
	CAEXDocument document = null
)

Parameters

idString  String
The identifier string.
document  CAEXDocument  (Optional)
The CAEX document

Return Value

Boolean
true if the specified identifier string can be used as an identifier; otherwise, false.
Remarks
This method should only be used for testing strings which are retrieved from an attribute where an ID is a valid value. It is not possible to distinguish a Name from an ID, because it exists neither a defined syntax for object names nor for object IDs. Only if the UUID format is used to represent an ID the ID format is recognized.
See Also