 | CAEXPathBuilderPathPart(CAEXObject, Boolean) Method |
Builds the Path Part for any CAEXObject, which may be part of a CAEX Path. The
Path Part is build from the object Names and the Part - Syntax, according to
chapter 2.8 of the CAEX guide: If defined separators are potentially a valid
part of object names, the following syntax shall be
used: all path elements shall be separated by square brackets “[“ name “]”.
This allows for using the original names and the defined separators at
the same time. If the conflict case arises that the described brackets
are part of object names, the brackets in the object name shall be
escaped by means of common XML escape-sequences. If a name contains any
Path part - Separator like '[' or ]' this character will be escaped with '\'.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static string PathPart(
CAEXObject element,
bool useId = false
)
Public Shared Function PathPart (
element As CAEXObject,
Optional useId As Boolean = false
) As String
public:
static String^ PathPart(
CAEXObject^ element,
bool useId = false
)
Parameters
- element CAEXObject
-
The CAEX element which should be part of the Path.
- useId Boolean (Optional)
-
if true, the path part is build with the ID-Attribute
Return Value
String
The Element Representation in the CAEX Path
See Also