Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_CAEX_ClassModel_CAEXPathBuilder_PathPartObjectNames

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXPathBuilder.PathPartObjectNames Method

Returns the Path Part object names of a caex Path. If any object name contains a path separator character the path part is enclosed in square brackets '[', ']'. The square brackets are removed from the object name in the returned result (default behavior). If keepPathPartBrackets is set to true, square brackets are not removed.

Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public static IEnumerable<string> PathPartObjectNames(
	string path,
	bool keepPathPartBrackets = false
)

C++

public:
static IEnumerable<String^>^ PathPartObjectNames(
	String^ path, 
	bool keepPathPartBrackets = false
)

Parameters

 

path
Type: System.String
The full caex path.
keepPathPartBrackets (Optional)
Type: System.Boolean
false (default); if true, object names may be enclosed in square brackets

Return Value

Type: IEnumerable(String)
IEnumerable<System.String>.

See Also

Reference

CAEXPathBuilder Class
CAEX_ClassModel Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally